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

Issue 179293005: Check that const-map keys don't override equals. (Closed)

Created:
6 years, 9 months ago by floitsch
Modified:
6 years, 9 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Check that const-map keys don't override equals. BUG= http://dartbug.com/17123 R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=33201

Patch Set 1 #

Patch Set 2 : Add test. #

Patch Set 3 : Update comment and add other test. #

Total comments: 6

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -3 lines) Patch
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/warnings.dart View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M tests/co19/co19-dart2js.status View 2 chunks +1 line, -1 line 0 comments Download
A tests/language/const_map2_test.dart View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
floitsch
6 years, 9 months ago (2014-02-28 18:17:10 UTC) #1
karlklose
LGTM. https://codereview.chromium.org/179293005/diff/40001/sdk/lib/_internal/compiler/implementation/resolution/members.dart File sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): https://codereview.chromium.org/179293005/diff/40001/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode3103 sdk/lib/_internal/compiler/implementation/resolution/members.dart:3103: List<Constant> keys = map.keys.entries; You can inline `keys`. ...
6 years, 9 months ago (2014-03-03 08:58:45 UTC) #2
floitsch
https://codereview.chromium.org/179293005/diff/40001/sdk/lib/_internal/compiler/implementation/resolution/members.dart File sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): https://codereview.chromium.org/179293005/diff/40001/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode3103 sdk/lib/_internal/compiler/implementation/resolution/members.dart:3103: List<Constant> keys = map.keys.entries; On 2014/03/03 08:58:45, karlklose wrote: ...
6 years, 9 months ago (2014-03-03 09:52:32 UTC) #3
floitsch
6 years, 9 months ago (2014-03-03 09:52:59 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r33201 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698