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

Issue 8317008: Implement compareTo on DartC. (Closed)

Created:
9 years, 2 months ago by floitsch
Modified:
9 years, 2 months ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org, mmendez
Visibility:
Public.

Description

Implement compareTo on DartC. BUG=5427706 Committed: https://code.google.com/p/dart/source/detail?r=470

Patch Set 1 #

Patch Set 2 : Remove commented line. #

Total comments: 2

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -5 lines) Patch
M compiler/lib/implementation/number.dart View 1 2 1 chunk +26 lines, -4 lines 0 comments Download
M tests/corelib/corelib.status View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
floitsch
9 years, 2 months ago (2011-10-17 15:55:19 UTC) #1
ngeoffray
LGTM! http://codereview.chromium.org/8317008/diff/1001/compiler/lib/implementation/number.dart File compiler/lib/implementation/number.dart (right): http://codereview.chromium.org/8317008/diff/1001/compiler/lib/implementation/number.dart#newcode37 compiler/lib/implementation/number.dart:37: // Don't use the 'this'-object, but get the ...
9 years, 2 months ago (2011-10-17 15:59:07 UTC) #2
floitsch
9 years, 2 months ago (2011-10-17 16:06:40 UTC) #3
http://codereview.chromium.org/8317008/diff/1001/compiler/lib/implementation/...
File compiler/lib/implementation/number.dart (right):

http://codereview.chromium.org/8317008/diff/1001/compiler/lib/implementation/...
compiler/lib/implementation/number.dart:37: // Don't use the 'this'-object, but
get the native JS number.
On 2011/10/17 15:59:07, ngeoffray wrote:
> That's the call to 'toDouble'? Could you be explicit in the comment? Also
remove
> the '-', it's quite overloaded inside this function...

Done.

Powered by Google App Engine
This is Rietveld 408576698