Commit Graph

14 Commits

Author SHA1 Message Date
lrn@google.com 4277b826ea Fix bugs in cascade implementation.
Some token.next got lost at some point.
And tests weren't running.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6672 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 08:53:01 +00:00
kasperl@google.com 02ba487148 Fix remaining warnings.
R=floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6648 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 16:25:11 +00:00
kasperl@google.com 43ff9be2fa Add extends clause to the type parameter for AbstractScanner.
This gets rid of a warning when using the result of calling utf8String inside the implementation.

R=ahe@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6627 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 12:09:41 +00:00
kasperl@google.com 192bc8795e Minor fixes to remove some warnings.
R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6624 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 11:26:25 +00:00
lrn@google.com 8531ffaa1e Fix type warnings and a few other warnings, and probably even an error.
Mostly warnings introduced by cascade implementation.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6621 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 09:33:16 +00:00
floitsch@google.com 07024492b5 Many type fixes.
Review URL: https://chromiumcodereview.appspot.com//10001008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6576 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 13:58:20 +00:00
lrn@google.com 5b430d34c5 Implement cascaded calls.
Review URL: https://chromiumcodereview.appspot.com//9958009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6570 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 12:42:25 +00:00
floitsch@google.com f6a66f3878 Allow all different string-literals in map literals.
Before spec. v0.8 only const strings were allowed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6521 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 13:39:43 +00:00
kasperl@google.com da29bdcace Remove frog dependencies from lib/compiler.
Start importing the URI library using dart:uri rather than
dotting our way to the right directory in lib.

R=ahe@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6511 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 12:05:45 +00:00
podivilov@google.com 9af05c07ee Auto-generate TimeoutHandler.dart.
R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6317 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 11:31:08 +00:00
lrn@google.com 5163f80703 Generate prettier loops.
Add structure information to HLoopInformation, and use it to generate prettier
loops when the condition can be generated as an expression.
If it can't, it still falls back to the while(true){if(!cond) break;} pattern.
Only handle for/while/for-in, not do-while yet.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6023 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 08:59:40 +00:00
floitsch@google.com 918a9681dd Correctly handle constness for list and map literals inside bodies.
Also parse const keyword for maps.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5944 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 18:16:39 +00:00
ahe@google.com d03830349f Add library mapping.
Review URL: https://chromiumcodereview.appspot.com//9866006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5935 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 16:07:58 +00:00
ahe@google.com dc099c4a00 Move frog/leg to lib/compiler/implementation.
Review URL: https://chromiumcodereview.appspot.com//9873021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5926 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 08:54:01 +00:00