Skip to content

Circular dependency #1604

Description

@NeilFraser

The advanced compilation test fails:

$ ./compile.sh 
Compiling Blockly...
../../blocks/logic.js:449: WARNING - Redeclared variable: i
    for (var i = 1; i <= this.elseifCount_; i++) {
             ^^^^^

../../core/block.js:1120: WARNING - Redeclared variable: i
    for (var i = 0; i < extensionNames.length; ++i) {
             ^^^^^

../../core/field_variable.js:301: WARNING - Redeclared variable: variableModelList
    var variableModelList = [];
        ^^^^^^^^^^^^^^^^^^^^^^

../../core/generator.js:30: ERROR - required "Blockly.Block" namespace not provided yet
goog.require('Blockly.Block');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1 error(s), 3 warning(s)
Compilation FAIL.

This also breaks Blockly Games.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions