Adding test and updating TODO. (#3102)

* Adding test and updating TODO.

* changing bug number referenced in TODO
This commit is contained in:
Monica Kozbial
2019-09-27 11:12:38 -07:00
committed by Sam El-Husseini
parent 40e0d55187
commit f4136fdc2a
3 changed files with 9 additions and 14 deletions

View File

@@ -578,7 +578,7 @@ Blockly.Workspace.prototype.variableIndexOf = function(_name) {
* defaults to the empty string, which is a specific type.
* @return {Blockly.VariableModel} The variable with the given name.
*/
// TODO (#1199): Possibly delete this function.
// TODO (#1559): Possibly delete this function after resolving #1559.
Blockly.Workspace.prototype.getVariable = function(name, opt_type) {
return this.variableMap_.getVariable(name, opt_type);
};