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

Issue 10442018: Issue 3209. Mark assignment to final field as error (Closed)

Created:
8 years, 7 months ago by scheglov
Modified:
8 years, 7 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -2 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java View 1 chunk +1 line, -0 lines 1 comment Download
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 3 chunks +9 lines, -2 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 7 months ago (2012-05-24 20:02:06 UTC) #1
Brian Wilkerson
8 years, 7 months ago (2012-05-24 20:07:24 UTC) #2
LGTM

https://chromiumcodereview.appspot.com/10442018/diff/1/compiler/java/com/goog...
File compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java (right):

https://chromiumcodereview.appspot.com/10442018/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java:28:
FIELD_IS_FINAL("Field '%s' is final"),
This should probably say something about assignment. Perhaps "Assignment to
final field '%s'".

Powered by Google App Engine
This is Rietveld 408576698