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 11343044: Disallow 'dynamic' as type parameter name (Closed)

Created:
8 years, 1 month ago by hausner
Modified:
8 years, 1 month ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Disallow 'dynamic' as type parameter name Fixes issue 2492 Committed: https://code.google.com/p/dart/source/detail?r=14296

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -12 lines) Patch
M runtime/vm/parser.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 2 5 chunks +8 lines, -10 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
hausner
Tiny fix for type parameter names.
8 years, 1 month ago (2012-10-30 16:45:24 UTC) #1
regis
LGTM http://codereview.chromium.org/11343044/diff/1004/runtime/vm/parser.cc File runtime/vm/parser.cc (right): http://codereview.chromium.org/11343044/diff/1004/runtime/vm/parser.cc#newcode6587 runtime/vm/parser.cc:6587: String* Parser::ExpectClassIdentifier(const char* msg) { Nitpicking: the name ...
8 years, 1 month ago (2012-10-30 16:53:10 UTC) #2
hausner
8 years, 1 month ago (2012-10-30 17:44:20 UTC) #3
http://codereview.chromium.org/11343044/diff/1004/runtime/vm/parser.cc
File runtime/vm/parser.cc (right):

http://codereview.chromium.org/11343044/diff/1004/runtime/vm/parser.cc#newcod...
runtime/vm/parser.cc:6587: String* Parser::ExpectClassIdentifier(const char*
msg) {
On 2012/10/30 16:53:10, regis wrote:
> Nitpicking: the name ExpectClassIdentifier is not optimal, since dynamic is a
> class as well. ExpectClassDefinitionIdentifier would be better.

Changed to ExpectUserDefinedTypeIdentifier as discussed offline.

Powered by Google App Engine
This is Rietveld 408576698