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

Issue 10542094: Issue 3477. Report error when built-in identifier used as type name (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 3477. Report error when built-in identifier used as type name http://code.google.com/p/dart/issues/detail?id=3477 R=brianwilkerson@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=8493

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -74 lines) Patch
M compiler/java/com/google/dart/compiler/parser/DartParser.java View 5 chunks +12 lines, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java View 1 chunk +3 lines, -0 lines 1 comment Download
M compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java View 1 chunk +1 line, -1 line 0 comments Download
M compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java View 1 chunk +173 lines, -1 line 0 comments Download
M tests/co19/co19-compiler.status View 2 chunks +0 lines, -59 lines 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 6 months ago (2012-06-09 21:44:29 UTC) #1
Brian Wilkerson
8 years, 6 months ago (2012-06-11 15:11:46 UTC) #2
LGTM

https://chromiumcodereview.appspot.com/10542094/diff/1/compiler/java/com/goog...
File compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java (right):

https://chromiumcodereview.appspot.com/10542094/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java:22:
BUILT_IN_IDENTIFIER_AS_TYPE_NAME("Built-in identifier can not be used as type
name"),
"can not" --> "cannot"

Powered by Google App Engine
This is Rietveld 408576698