Chromium Code Reviews| Index: runtime/vm/scopes.cc |
| =================================================================== |
| --- runtime/vm/scopes.cc (revision 27495) |
| +++ runtime/vm/scopes.cc (working copy) |
| @@ -242,7 +242,7 @@ |
| } |
| for (int i = 0; i < this->variables_.length(); i++) { |
| LocalVariable* var = variables_[i]; |
| - if (var->owner() == this) { |
| + if ((var->owner() == this) && !var->is_invisible()) { |
| if (!IsInternalIdentifier(var->name())) { |
| // This is a regular Dart variable, either stack-based or captured. |
| VarDesc desc; |