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

Issue 23948006: Emit a compile-time error on members with the name of their enclosing class. (Closed)

Created:
7 years, 3 months ago by karlklose
Modified:
7 years, 3 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Emit a compile-time error on members with the name of their enclosing class. R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=27689

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : dart2dart test expectations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M sdk/lib/_internal/compiler/implementation/elements/modelx.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/warnings.dart View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
karlklose
7 years, 3 months ago (2013-09-20 06:53:40 UTC) #1
Johnni Winther
lgtm https://codereview.chromium.org/23948006/diff/2001/sdk/lib/_internal/compiler/implementation/warnings.dart File sdk/lib/_internal/compiler/implementation/warnings.dart (right): https://codereview.chromium.org/23948006/diff/2001/sdk/lib/_internal/compiler/implementation/warnings.dart#newcode822 sdk/lib/_internal/compiler/implementation/warnings.dart:822: "Error: Member can't have the same name as ...
7 years, 3 months ago (2013-09-20 06:57:35 UTC) #2
karlklose
Thanks Johnni! https://codereview.chromium.org/23948006/diff/2001/sdk/lib/_internal/compiler/implementation/warnings.dart File sdk/lib/_internal/compiler/implementation/warnings.dart (right): https://codereview.chromium.org/23948006/diff/2001/sdk/lib/_internal/compiler/implementation/warnings.dart#newcode822 sdk/lib/_internal/compiler/implementation/warnings.dart:822: "Error: Member can't have the same name ...
7 years, 3 months ago (2013-09-20 07:54:28 UTC) #3
karlklose
7 years, 3 months ago (2013-09-20 08:02:51 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r27689 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698