Chromium Code Reviews| Index: runtime/vm/parser.cc |
| =================================================================== |
| --- runtime/vm/parser.cc (revision 4004) |
| +++ runtime/vm/parser.cc (working copy) |
| @@ -4984,7 +4984,7 @@ |
| ErrorMsg(jump_pos, "label '%s' not found", target_name.ToCString()); |
| } |
| } else { |
| - target = current_block_->scope->LookupInnermostLabel(); |
| + target = current_block_->scope->LookupInnermostLabel(jump_kind); |
| if (target == NULL) { |
| ErrorMsg(jump_pos, "'%s' is illegal here", Token::Str(jump_kind)); |
| } |