Fix compiler warnings related to fields. (#3144)

* Fix compiler warnings related to fields.
This commit is contained in:
Sam El-Husseini
2019-10-03 15:58:46 -07:00
committed by GitHub
parent 7839512f0e
commit d0772ad496
27 changed files with 74 additions and 78 deletions

View File

@@ -839,7 +839,7 @@ Blockly.Blocks['lists_split'] = {
if (inputBlock.isShadow()) {
inputBlock.dispose();
} else {
this.bumpNeighbours_();
this.bumpNeighbours();
}
}
}

View File

@@ -574,7 +574,7 @@ Blockly.Constants.Logic.LOGIC_COMPARE_ONCHANGE_MIXIN = {
this.getInput('B').connection.connect(prevB.outputConnection);
}
}
this.bumpNeighbours_();
this.bumpNeighbours();
Blockly.Events.setGroup(false);
}
this.prevBlocks_[0] = this.getInputTargetBlock('A');
@@ -626,10 +626,10 @@ Blockly.Constants.Logic.LOGIC_TERNARY_ONCHANGE_MIXIN = {
Blockly.Events.setGroup(e.group);
if (parentConnection === this.prevParentConnection_) {
this.unplug();
parentConnection.getSourceBlock().bumpNeighbours_();
parentConnection.getSourceBlock().bumpNeighbours();
} else {
block.unplug();
block.bumpNeighbours_();
block.bumpNeighbours();
}
Blockly.Events.setGroup(false);
}

View File

@@ -253,7 +253,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
if (this.statementConnection_) {
var stackBlock = stackConnection.targetBlock();
stackBlock.unplug();
stackBlock.bumpNeighbours_();
stackBlock.bumpNeighbours();
}
this.setStatements_(false);
}
@@ -752,7 +752,7 @@ Blockly.Blocks['procedures_callnoreturn'] = {
paramIds.indexOf(this.quarkIds_[i]) == -1) {
// This connection should no longer be attached to this block.
connection.disconnect();
connection.getSourceBlock().bumpNeighbours_();
connection.getSourceBlock().bumpNeighbours();
}
}
}