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

Issue 10873088: Issue 3989. Show warning if constructor name is same as member name (Closed)

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

Description

Issue 3989. Show warning if constructor name is same as member name http://code.google.com/p/dart/issues/detail?id=3989 R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=11403

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -3 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/MemberBuilder.java View 4 chunks +15 lines, -3 lines 1 comment Download
M compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java View 1 chunk +3 lines, -0 lines 0 comments 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, 3 months ago (2012-08-27 18:25:35 UTC) #1
Brian Wilkerson
8 years, 3 months ago (2012-08-27 18:28:42 UTC) #2
LGTM

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

https://chromiumcodereview.appspot.com/10873088/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/resolver/MemberBuilder.java:119: // check
that constructor names don't conflict with member names
nit: "don't" -> "doesn't"

Powered by Google App Engine
This is Rietveld 408576698