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

Issue 177053004: Use normal equality for const maps. (Closed)

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

Description

Use normal equality for const maps in dart2js. R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=33205

Patch Set 1 #

Total comments: 2

Patch Set 2 : TypeImpl overrides the equality operator. #

Patch Set 3 : Fix typo in test. #

Patch Set 4 : Clean test #

Total comments: 6

Patch Set 5 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -2 lines) Patch
M sdk/lib/_internal/lib/constant_map.dart View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A tests/language/const_map_test.dart View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
floitsch
6 years, 10 months ago (2014-02-26 13:55:10 UTC) #1
Lasse Reichstein Nielsen
https://codereview.chromium.org/177053004/diff/1/sdk/lib/_internal/lib/constant_map.dart File sdk/lib/_internal/lib/constant_map.dart (right): https://codereview.chromium.org/177053004/diff/1/sdk/lib/_internal/lib/constant_map.dart#newcode107 sdk/lib/_internal/lib/constant_map.dart:107: JS('', r'this.$map = #', fillLiteralMap(_jsData, backingMap)); The spec is ...
6 years, 10 months ago (2014-02-27 08:15:34 UTC) #2
floitsch
Updated test, since https://codereview.chromium.org/179293005/ will make Type in const maps illegal. The change in the ...
6 years, 9 months ago (2014-02-28 18:26:36 UTC) #3
floitsch
PTAL.
6 years, 9 months ago (2014-02-28 18:26:53 UTC) #4
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/177053004/diff/60001/sdk/lib/_internal/lib/constant_map.dart File sdk/lib/_internal/lib/constant_map.dart (right): https://codereview.chromium.org/177053004/diff/60001/sdk/lib/_internal/lib/constant_map.dart#newcode106 sdk/lib/_internal/lib/constant_map.dart:106: Map backingMap = new Map<K, V>(); I prefer ...
6 years, 9 months ago (2014-03-03 10:31:24 UTC) #5
floitsch
https://codereview.chromium.org/177053004/diff/60001/sdk/lib/_internal/lib/constant_map.dart File sdk/lib/_internal/lib/constant_map.dart (right): https://codereview.chromium.org/177053004/diff/60001/sdk/lib/_internal/lib/constant_map.dart#newcode106 sdk/lib/_internal/lib/constant_map.dart:106: Map backingMap = new Map<K, V>(); On 2014/03/03 10:31:24, ...
6 years, 9 months ago (2014-03-03 10:42:37 UTC) #6
floitsch
6 years, 9 months ago (2014-03-03 10:43:37 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r33205 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698