Commit Graph

5 Commits

Author SHA1 Message Date
kasperl@google.com ed27978039 Add #library tag to please the testing setup we use on the build bots.
TBR'ed.

R=lrn@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10854142

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10628 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 10:55:06 +00:00
kasperl@google.com 404955baf6 Fix issue 4456 (BadNumberFormatException -> FormatException).
R=lrn@google.com
BUG=http://dartbug.com/4456

Review URL: https://chromiumcodereview.appspot.com//10825339

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10625 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 10:28:04 +00:00
rnystrom@google.com 0bc9b19740 Rename BadNumberFormatException -> FormatException.
Review URL: https://chromiumcodereview.appspot.com//10850034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10354 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 20:56:59 +00:00
hausner@google.com f6c776dcbe Eliminate unary plus with hex literals
The spec says unary + is only allowed with integer and floating point literals, not with hex literals. Somebody noticed that the VM accepted
+0x10 as well.

Consequently, the Math.parseInt(str) library function should fail with
a BadNumberFormatException if it is called with a hex number that is preceded by a +.

Fixes issue 1540.

This change exposed that the dart2js core library implementation is
falsely accepting +0xNNN hex numbers. I filed issue 3333.
Review URL: https://chromiumcodereview.appspot.com//10456060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8177 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 22:35:29 +00:00
sigmund@google.com d9eae90196 test rename overhaul: step 7 - corelib tests
Review URL: https://chromiumcodereview.appspot.com//10244009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7096 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:06:37 +00:00