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

Issue 11308091: Add TypeImpl.hashCode. (Closed)

Created:
8 years, 1 month ago by karlklose
Modified:
8 years, 1 month ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add TypeImpl.hashCode. BUG=http://code.google.com/p/dart/issues/detail?id=6785 Committed: https://code.google.com/p/dart/source/detail?r=15140

Patch Set 1 #

Patch Set 2 : Moved the test to dart2js_extra. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 1 chunk +1 line, -0 lines 0 comments Download
A tests/compiler/dart2js_extra/first_class_types_hashcode_test.dart View 1 1 chunk +22 lines, -0 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
karlklose
8 years, 1 month ago (2012-11-19 10:17:42 UTC) #1
ngeoffray
LGTM
8 years, 1 month ago (2012-11-19 10:23:46 UTC) #2
karlklose
FYI: I moved the test to dart2js_extra, because the specification does not require this behavior.
8 years, 1 month ago (2012-11-19 15:16:15 UTC) #3
ngeoffray
8 years, 1 month ago (2012-11-19 15:40:32 UTC) #4
http://codereview.chromium.org/11308091/diff/3001/tests/compiler/dart2js_extr...
File tests/compiler/dart2js_extra/first_class_types_hashcode_test.dart (right):

http://codereview.chromium.org/11308091/diff/3001/tests/compiler/dart2js_extr...
tests/compiler/dart2js_extra/first_class_types_hashcode_test.dart:5: // Check
that Type instances work with maps.
Please add the comment that it assumes canonicalization of types and that is not
specified.

Powered by Google App Engine
This is Rietveld 408576698