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

Issue 18034021: Fixing analyzer warnings on overloading == but not get hashCode. (Closed)

Created:
7 years, 5 months ago by blois
Modified:
7 years, 5 months ago
Reviewers:
sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fixing analyzer warnings on overloading == but not get hashCode. BUG=11613 R=sra@google.com Committed: https://code.google.com/p/dart/source/detail?r=24614

Patch Set 1 #

Patch Set 2 : Fixing test expectations #

Total comments: 1

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -8 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 3 chunks +8 lines, -0 lines 0 comments Download
M sdk/lib/html/html_common/html_common.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/html/html_common/html_common_dart2js.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A sdk/lib/html/html_common/jenkins_smi_hash.dart View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/analyze_api_test.dart View 1 1 chunk +0 lines, -8 lines 0 comments Download
M tests/html/point_test.dart View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M tests/html/rect_test.dart View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M tools/dom/src/Point.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/dom/src/Rectangle.dart View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_ClientRect.darttemplate View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
blois
7 years, 5 months ago (2013-06-28 20:53:51 UTC) #1
sra1
lgtm with a better hash function. https://chromiumcodereview.appspot.com/18034021/diff/4001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://chromiumcodereview.appspot.com/18034021/diff/4001/sdk/lib/html/dart2js/html_dart2js.dart#newcode24513 sdk/lib/html/dart2js/html_dart2js.dart:24513: I suggest making ...
7 years, 5 months ago (2013-06-28 21:37:03 UTC) #2
blois
7 years, 5 months ago (2013-06-28 22:11:33 UTC) #3
sra1
lgtm, the test could be improved if you like. https://chromiumcodereview.appspot.com/18034021/diff/9001/sdk/lib/html/html_common/jenkins_smi_hash.dart File sdk/lib/html/html_common/jenkins_smi_hash.dart (right): https://chromiumcodereview.appspot.com/18034021/diff/9001/sdk/lib/html/html_common/jenkins_smi_hash.dart#newcode38 sdk/lib/html/html_common/jenkins_smi_hash.dart:38: ...
7 years, 5 months ago (2013-06-28 22:25:02 UTC) #4
blois
https://chromiumcodereview.appspot.com/18034021/diff/9001/sdk/lib/html/html_common/jenkins_smi_hash.dart File sdk/lib/html/html_common/jenkins_smi_hash.dart (right): https://chromiumcodereview.appspot.com/18034021/diff/9001/sdk/lib/html/html_common/jenkins_smi_hash.dart#newcode38 sdk/lib/html/html_common/jenkins_smi_hash.dart:38: static int hash2(a, b) => JenkinsSmiHash.finish( On 2013/06/28 22:25:02, ...
7 years, 5 months ago (2013-06-28 22:35:37 UTC) #5
blois
7 years, 5 months ago (2013-06-28 22:36:58 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r24614 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698