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

Issue 10543016: Issue 3183. Warning when overriding method with different default value (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 3183. Warning when overriding method with different default value http://code.google.com/p/dart/issues/detail?id=3183 R=brianwilkerson@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=8349

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 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 4 chunks +14 lines, -2 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 6 months ago (2012-06-06 03:28:14 UTC) #1
Brian Wilkerson
8 years, 6 months ago (2012-06-06 13:52:55 UTC) #2
LGTM

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

https://chromiumcodereview.appspot.com/10543016/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java:21:
CANNOT_OVERRIDE_METHOD_DEFAULT_VALUE("cannot override method %s, default value
don't match '%s'"),
"don't" --> "doesn't"

Powered by Google App Engine
This is Rietveld 408576698