Update procedure callers on var rename (PR#2251)

Merge from TangHu2018/develop
This commit is contained in:
Andrew n marshall
2019-02-05 09:08:08 -08:00
committed by GitHub

View File

@@ -298,6 +298,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
}
if (change) {
this.displayRenamedVar_(oldName, newVar.name);
Blockly.Procedures.mutateCallers(this);
}
},
/**
@@ -320,6 +321,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
}
if (change) {
this.displayRenamedVar_(oldName, newName);
Blockly.Procedures.mutateCallers(this);
}
},
/**