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

Issue 10545029: Issue 3181. Only fields of immediately surrounding class can be initialized (Closed)

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

Description

Issue 3181. Only fields of immediately surrounding class can be initialized http://code.google.com/p/dart/issues/detail?id=3181 Tweak for message. Report only error, no warning. R=brianwilkerson@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=8347

Patch Set 1 #

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

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 6 months ago (2012-06-06 05:04:59 UTC) #1
Brian Wilkerson
8 years, 6 months ago (2012-06-06 14:00:08 UTC) #2
LGTM

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

https://chromiumcodereview.appspot.com/10545029/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java:29:
INIT_FIELD_ONLY_IMMEDIATELY_SURROUNDING_CLASS("Only fields of immediately
surrounding class can be initialized"),
This should be moved so that the constants are still alphabetized.

Powered by Google App Engine
This is Rietveld 408576698