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

Issue 9692068: Fixed some static type warnings in vm core libraries (Closed)

Created:
8 years, 9 months ago by zundel
Modified:
8 years, 9 months ago
Reviewers:
iposva, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fixed some static type warnings in vm core libraries After running 'dartc' on the VM's core libraries, about 79 static type warnings popped out. These ten or so were relatively easy to fix. Committed: https://code.google.com/p/dart/source/detail?r=5794

Patch Set 1 #

Patch Set 2 : Removed byte_array.dart changes - test failed #

Total comments: 4

Patch Set 3 : revert integers.dart #

Patch Set 4 : merged up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -17 lines) Patch
M runtime/lib/date.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/immutable_map.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/regexp.dart View 1 2 3 2 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
zundel
See the full list of warnings in this issue http://code.google.com/p/dart/issues/detail?id=2136
8 years, 9 months ago (2012-03-13 21:58:49 UTC) #1
Ivan Posva
Any particular reason why you want to fix these? -Ivan https://chromiumcodereview.appspot.com/9692068/diff/2001/runtime/lib/integers.dart File runtime/lib/integers.dart (right): https://chromiumcodereview.appspot.com/9692068/diff/2001/runtime/lib/integers.dart#newcode144 ...
8 years, 9 months ago (2012-03-14 05:34:05 UTC) #2
zundel
there is no more 'compiler' version of the dart libraries. So, for analysis, we have ...
8 years, 9 months ago (2012-03-14 12:56:21 UTC) #3
zundel
https://chromiumcodereview.appspot.com/9692068/diff/2001/runtime/lib/integers.dart File runtime/lib/integers.dart (right): https://chromiumcodereview.appspot.com/9692068/diff/2001/runtime/lib/integers.dart#newcode144 runtime/lib/integers.dart:144: var value = this.isNegative() ? -this : this; On ...
8 years, 9 months ago (2012-03-14 13:04:34 UTC) #4
zundel
ping
8 years, 9 months ago (2012-03-19 19:51:30 UTC) #5
Ivan Posva
8 years, 9 months ago (2012-03-23 20:50:44 UTC) #6
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698