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

Issue 16042014: Implement operator== and hashCode for bound closures. (Closed)

Created:
7 years, 6 months ago by ngeoffray
Modified:
7 years, 6 months ago
Reviewers:
karlklose, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implement operator== and hashCode for bound closures. R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=23380

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -64 lines) Patch
M sdk/lib/_internal/compiler/implementation/closure.dart View 1 chunk +5 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/compiler.dart View 2 chunks +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/enqueue.dart View 1 5 chunks +40 lines, -9 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 12 chunks +13 lines, -49 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 1 2 chunks +24 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
A tests/language/bound_closure_equality_test.dart View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
M tests/language/language.status View 2 chunks +3 lines, -0 lines 0 comments Download
A tests/language/local_function_non_equal_test.dart View 1 1 chunk +32 lines, -0 lines 0 comments Download
A tests/language/static_closure_identical_test.dart View 1 1 chunk +17 lines, -0 lines 0 comments Download
M tests/utils/dummy_compiler_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/utils/recursive_import_test.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
7 years, 6 months ago (2013-05-29 13:15:08 UTC) #1
kasperl
https://codereview.chromium.org/16042014/diff/2002/tests/language/bound_closure_equality_test.dart File tests/language/bound_closure_equality_test.dart (right): https://codereview.chromium.org/16042014/diff/2002/tests/language/bound_closure_equality_test.dart#newcode16 tests/language/bound_closure_equality_test.dart:16: main() { We probably also need a test that ...
7 years, 6 months ago (2013-05-29 13:24:08 UTC) #2
kasperl
LGTM! https://codereview.chromium.org/16042014/diff/2002/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart File sdk/lib/_internal/compiler/implementation/lib/js_helper.dart (right): https://codereview.chromium.org/16042014/diff/2002/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart#newcode958 sdk/lib/_internal/compiler/implementation/lib/js_helper.dart:958: this.self, other.self, Get rid of the this. prefixes. ...
7 years, 6 months ago (2013-05-29 13:30:14 UTC) #3
ngeoffray
Thanks Kasper, PTAL, I added tests, and had to fix the enqueuer to always track ...
7 years, 6 months ago (2013-05-29 15:33:19 UTC) #4
kasperl
LGTM. https://codereview.chromium.org/16042014/diff/7001/tests/language/bound_closure_equality_test.dart File tests/language/bound_closure_equality_test.dart (right): https://codereview.chromium.org/16042014/diff/7001/tests/language/bound_closure_equality_test.dart#newcode19 tests/language/bound_closure_equality_test.dart:19: var set = new Set.from(array.map((a) => a.foo)); Check ...
7 years, 6 months ago (2013-05-29 19:08:56 UTC) #5
ngeoffray
Thanks Kasper. https://codereview.chromium.org/16042014/diff/7001/tests/language/bound_closure_equality_test.dart File tests/language/bound_closure_equality_test.dart (right): https://codereview.chromium.org/16042014/diff/7001/tests/language/bound_closure_equality_test.dart#newcode19 tests/language/bound_closure_equality_test.dart:19: var set = new Set.from(array.map((a) => a.foo)); ...
7 years, 6 months ago (2013-05-30 06:45:46 UTC) #6
ngeoffray
7 years, 6 months ago (2013-05-30 06:48:49 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r23380 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698