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

Issue 24326003: Reapply: "Emit compile-time error on duplicate parameter names in typedefs." (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

Reapply: "Emit compile-time error on duplicate parameter names in typedefs." BUG=7202 R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=27798

Patch Set 1 #

Patch Set 2 : Check for optional parameter assumes function, not typedef. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -38 lines) Patch
M sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart View 1 2 chunks +10 lines, -2 lines 2 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 4 chunks +36 lines, -28 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 chunk +0 lines, -5 lines 0 comments Download
M tests/co19/co19-dart2js.status View 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
karlklose
Patch set 1 is the already reviewed CL, patch set 2 fixes a checked mode ...
7 years, 3 months ago (2013-09-23 07:59:20 UTC) #1
Johnni Winther
lgtm https://codereview.chromium.org/24326003/diff/3001/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart File sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart (right): https://codereview.chromium.org/24326003/diff/3001/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart#newcode271 sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart:271: } else if (Elements.isLocal(element) && !isTypedefParameter(element)) { How ...
7 years, 3 months ago (2013-09-23 08:06:18 UTC) #2
karlklose
https://codereview.chromium.org/24326003/diff/3001/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart File sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart (right): https://codereview.chromium.org/24326003/diff/3001/sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart#newcode271 sdk/lib/_internal/compiler/implementation/dart_backend/placeholder_collector.dart:271: } else if (Elements.isLocal(element) && !isTypedefParameter(element)) { Typedef parameters ...
7 years, 3 months ago (2013-09-23 08:09:52 UTC) #3
karlklose
7 years, 3 months ago (2013-09-24 06:57:01 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r27798 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698