From dec9a2c743407db2a187eb2163c342107579019c Mon Sep 17 00:00:00 2001 From: Andrew n marshall Date: Wed, 22 Aug 2018 12:55:16 -0700 Subject: [PATCH] Correcting annotations of procedure block mixin functions. --- blocks/procedures.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blocks/procedures.js b/blocks/procedures.js index 3019b0b9c..d69507d7e 100644 --- a/blocks/procedures.js +++ b/blocks/procedures.js @@ -282,6 +282,7 @@ Blockly.Blocks['procedures_defnoreturn'] = { * @param {string} newId ID of new variable. May be the same as oldId, but * with an updated name. Guaranteed to be the same type as the old * variable. + * @override * @this Blockly.Block */ renameVarById: function(oldId, newId) { @@ -310,6 +311,8 @@ Blockly.Blocks['procedures_defnoreturn'] = { * variable is in use on this block, rerender to show the new name. * @param {!Blockly.VariableModel} variable The variable being renamed. * @package + * @override + * @this Blockly.Block */ updateVarName: function(variable) { var newName = variable.name;