This commit is contained in:
Rachel Fenichel
2017-12-06 15:49:20 -08:00
parent 279cf83b72
commit 399f1a5c11
5 changed files with 49 additions and 77 deletions

View File

@@ -271,7 +271,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
return vars;
}
for (var i = 0, argName; argName = this.arguments_[i]; i++) {
// TODO (#1199): When we switch to tracking variables by ID,
// TODO (#1494): When we switch to tracking procedure arguments by ID,
// update this.
var model = this.workspace.getVariable(argName, '');
if (model) {