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

Issue 9186037: Issue 986: Static type warning when overriding static super members (Closed)

Created:
8 years, 11 months ago by codefu
Modified:
8 years, 11 months ago
Reviewers:
zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Issue 986: Static type warning when overriding static super members http://code.google.com/p/dart/issues/detail?id=986 Truth table: Super | static | instance Local | | ---------+---------+--------- static | warning | error instance | warning | warning Ancillary adition: Warnings are now colored differently from errors to help distinguish between the two. R=zundel BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3435

Patch Set 1 #

Total comments: 1

Patch Set 2 : Cleanup #

Total comments: 5

Patch Set 3 : Updating enum name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -22 lines) Patch
M compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java View 4 chunks +14 lines, -6 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java View 1 1 chunk +0 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M compiler/javatests/com/google/dart/compiler/PrettyErrorFormatterTest.java View 1 7 chunks +51 lines, -14 lines 0 comments Download
M tests/co19/co19-compiler.status View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
codefu
http://codereview.chromium.org/9186037/diff/1/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java File compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java (right): http://codereview.chromium.org/9186037/diff/1/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java#newcode17 compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java:17: CANNOT_OVERRIDE_STATIC_MEMBER("overriding static member %s of %s"), What is the ...
8 years, 11 months ago (2012-01-12 15:57:19 UTC) #1
zundel
http://codereview.chromium.org/9186037/diff/2001/compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java File compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java (right): http://codereview.chromium.org/9186037/diff/2001/compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java#newcode31 compiler/java/com/google/dart/compiler/PrettyErrorFormatter.java:31: public static final String NO_COLOR = "\033[0m"; (aside) John ...
8 years, 11 months ago (2012-01-13 15:57:29 UTC) #2
codefu
http://codereview.chromium.org/9186037/diff/2001/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java File compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java (right): http://codereview.chromium.org/9186037/diff/2001/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java#newcode17 compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java:17: CANNOT_OVERRIDE_STATIC_MEMBER("overriding static member %s of %s"), On 2012/01/13 15:57:30, ...
8 years, 11 months ago (2012-01-13 18:50:47 UTC) #3
zundel
8 years, 11 months ago (2012-01-17 14:32:36 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698