Reenabled parameter case tests.

This commit is contained in:
Beka Westberg
2019-07-08 10:44:20 -07:00
parent ab352114b7
commit bb19b4ce0c
2 changed files with 3 additions and 3 deletions

View File

@@ -331,7 +331,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
displayRenamedVar_: function(oldName, newName) {
this.updateParams_();
// Update the mutator's variables if the mutator is open.
if (this.mutator.isVisible()) {
if (this.mutator && this.mutator.isVisible()) {
var blocks = this.mutator.workspace_.getAllBlocks(false);
for (var i = 0, block; block = blocks[i]; i++) {
if (block.type == 'procedures_mutatorarg' &&