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

Issue 11472022: Reject constructor names that conflict with members. (Closed)

Created:
8 years ago by ahe
Modified:
8 years ago
CC:
reviews_dartlang.org, aam-me
Visibility:
Public.

Description

Reject constructor names that conflict with members. BUG=http://dartbug.com/3991 Committed: https://code.google.com/p/dart/source/detail?r=15894

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -2 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 chunk +29 lines, -0 lines 4 comments Download
M dart/sdk/lib/_internal/compiler/implementation/scanner/class_element_parser.dart View 2 chunks +9 lines, -0 lines 0 comments Download
A dart/tests/compiler/dart2js/deprecated_features_test.dart View 1 chunk +94 lines, -0 lines 0 comments Download
M dart/tests/utils/dummy_compiler_test.dart View 3 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ahe
8 years ago (2012-12-07 14:54:09 UTC) #1
ngeoffray
https://codereview.chromium.org/11472022/diff/1/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart File dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): https://codereview.chromium.org/11472022/diff/1/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode505 dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart:505: // mechanism for duplicate members. What makes it difficult ...
8 years ago (2012-12-08 13:53:32 UTC) #2
ahe
This CL will give people a warning if they have a constructor whose name conflicts ...
8 years ago (2012-12-08 14:15:46 UTC) #3
ngeoffray
On 2012/12/08 14:15:46, ahe wrote: > This CL will give people a warning if they ...
8 years ago (2012-12-08 14:27:23 UTC) #4
ngeoffray
8 years ago (2012-12-09 10:17:49 UTC) #5
Took me quite some time to get it, but now I do :) LGTM!

Powered by Google App Engine
This is Rietveld 408576698