Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Issue 186853003: Fix error message when assigning to a local const variable (Closed)

Created:
6 years, 9 months ago by hausner
Modified:
6 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Florian Schneider
Visibility:
Public.

Description

Fix error message when assigning to a local const variable Remove front-end optimization that turned load local const value into a load literal. Change backend to recognize loading of const locals. This fixes the error message automagically. Fix for issue 17258 R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=33288

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -6 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
hausner
6 years, 9 months ago (2014-03-04 18:36:02 UTC) #1
srdjan
lgtm
6 years, 9 months ago (2014-03-04 18:38:56 UTC) #2
hausner
Committed patchset #1 manually as r33288 (presubmit successful).
6 years, 9 months ago (2014-03-04 18:44:57 UTC) #3
Florian Schneider
6 years, 9 months ago (2014-03-05 10:09:27 UTC) #4
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698