ahe@google.com
63c3a79962
Fix bug in partial parsing of map literal.
...
Review URL: https://chromiumcodereview.appspot.com//9808016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5757 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 16:41:34 +00:00
ager@google.com
2aba281fa6
Remove backwards compatibility 'win32' name from test status files.
...
Using win32 instead of windows was temporary to be compatible with
the old python script. That is now gone.
R=antonm@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9817019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5736 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 22:06:52 +00:00
floitsch@google.com
d55be95ea3
Call the compile-time constant handler inside bodies.
...
Don't transform a const instantiation into a 'new'.
Review URL: https://chromiumcodereview.appspot.com//9703074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5706 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 07:14:36 +00:00
floitsch@google.com
7e8e9fa1df
Disable closures in initializers and fail instead of crashing.
...
Review URL: https://chromiumcodereview.appspot.com//9740003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5697 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-20 21:24:10 +00:00
lrn@google.com
6124d2d373
Make string interpolations be compile-time-constants.
...
Based on StringInterpolation change that hasn't been committed yet.
Review URL: https://chromiumcodereview.appspot.com//9706018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5676 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-20 08:55:07 +00:00
lrn@google.com
21f91ff9f2
Make string juxtaposition combine properly with string interpolations.
...
Juxtaposed string literals combine with the first and last string parts
of a string interpolation, to create a new string interpolation.
Review URL: https://chromiumcodereview.appspot.com//9642001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5674 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-20 08:12:02 +00:00
ahe@google.com
4ca586ce37
Revert "Switch frog tests to run on frogsh"
...
Review URL: https://chromiumcodereview.appspot.com//9732031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5667 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:34:54 +00:00
jmesserly@google.com
653c01192c
Switch frog tests to run on frogsh
...
This is a patch from issue 9724008, with a one line change to corelib.status
TBR=efortuna@google.com
Committed: https://code.google.com/p/dart/source/detail?r=5661
Review URL: https://chromiumcodereview.appspot.com//9729013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5663 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:05:23 +00:00
jmesserly@google.com
114d8e634a
revert r5661
...
Review URL: https://chromiumcodereview.appspot.com//9730017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5662 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 22:39:17 +00:00
jmesserly@google.com
de11dc720a
Switch frog tests to run on frogsh
...
This is a patch from issue 9724008, with a one line change to corelib.status
TBR=efortuna@google.com
Review URL: https://chromiumcodereview.appspot.com//9729013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5661 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 22:28:15 +00:00
zundel@google.com
3d07831594
Some compile time constants were not properly reporting static type warnings
...
http://code.google.com/p/dart/issues/detail?id=1957
Review URL: https://chromiumcodereview.appspot.com//9728006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5654 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 19:27:35 +00:00
ahe@google.com
07cee6c032
Resolve type Dynamic and implement black listing.
...
Review URL: https://chromiumcodereview.appspot.com//9724032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5648 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 16:22:09 +00:00
ahe@google.com
5bc66beb02
Interceptor maintenance:
...
Add isEven$0, isOdd$0, map$1.
Clean up use of checkNull in interceptors.
Review URL: https://chromiumcodereview.appspot.com//9719034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5645 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 14:36:05 +00:00
lrn@google.com
0aa5e0e4b7
Continue for simple loops (while/for).
...
Not yet implemented for do-while and for-in, or even begun for switch cases.
Review URL: https://chromiumcodereview.appspot.com//9718034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5643 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 12:21:15 +00:00
ahe@google.com
dd96f32250
Rename leg -> dart2js.
...
Review URL: https://chromiumcodereview.appspot.com//9717033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5636 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 08:36:39 +00:00
ahe@google.com
06e1099b7c
Update frog status
...
Review URL: https://chromiumcodereview.appspot.com//9717041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5631 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 22:28:58 +00:00
floitsch@google.com
a4b6cb96d1
Handle compile-time constants to interfaces.
...
Review URL: https://chromiumcodereview.appspot.com//9717035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5629 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 21:50:43 +00:00
ahe@google.com
f90d3a3423
Library privacy.
...
Review URL: https://chromiumcodereview.appspot.com//9689045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5628 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 21:27:45 +00:00
floitsch@google.com
71b243f091
Compile initializers in right order.
...
Review URL: https://chromiumcodereview.appspot.com//9720030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5624 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 18:10:18 +00:00
ngeoffray@google.com
25543d35ed
If there were breaks in a loop, we must not restore the saved localsHandler before entering the loop body.
...
Review URL: https://chromiumcodereview.appspot.com//9720024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5619 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 12:08:24 +00:00
ahe@google.com
6d8376e962
Fixed a few typos.
...
Review URL: https://chromiumcodereview.appspot.com//9719017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5614 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 16:55:19 +00:00
efortuna@google.com
3abf33b06b
Revert r5607. Not all the new machines have node installed. :-(
...
TBR=rnystrom@google.com
Review URL: https://chromiumcodereview.appspot.com//9724009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5608 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 00:43:30 +00:00
efortuna@google.com
056e9e5974
Switch frogium, legium, and webdriver tests to running on frogsh, until the VM bug gets fixed.
...
Review URL: https://chromiumcodereview.appspot.com//9724008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5607 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 00:37:47 +00:00
karlklose@google.com
513fc02fc4
Implement parsing and resolving of type-variables.
...
Review URL: https://chromiumcodereview.appspot.com//9616058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5572 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 15:39:37 +00:00
kasperl@google.com
e4857a2aa0
Mark CompileTimeConstantETest as failing on frog.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9700094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5564 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 09:46:31 +00:00
kasperl@google.com
fa42efe602
Re-land r5529.
...
Update client-leg.status file.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9703105
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5562 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 09:16:55 +00:00
sra@google.com
0bda5b5958
Frog: preserve initialization order.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9666031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5540 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 20:45:29 +00:00
sra@google.com
14549584fd
Add another language test for initializer ordering.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9704049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5538 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 20:23:13 +00:00
efortuna@google.com
77dfce912a
Revert r5529. Breaks frog and web bots.
...
Review URL: https://chromiumcodereview.appspot.com//9701072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5532 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 18:29:08 +00:00
floitsch@google.com
481239d887
const constructors with optional arguments.
...
Review URL: https://chromiumcodereview.appspot.com//9705025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5529 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 17:06:02 +00:00
srdjan@google.com
0832db6261
Fix 2172: report 'int' instead of Smi, Mint and Bigint when throwing TypeError.
...
Review URL: https://chromiumcodereview.appspot.com//9705041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5525 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 15:54:59 +00:00
floitsch@google.com
7d72f47748
Introduce FieldParameterElement.
...
Review URL: https://chromiumcodereview.appspot.com//9699033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5523 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 15:49:52 +00:00
ngeoffray@google.com
1d6563f365
New try for cl https://chromiumcodereview.appspot.com/9706014/ .
...
Review URL: https://chromiumcodereview.appspot.com//9703057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5515 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 10:11:51 +00:00
ahe@google.com
266c57b2e2
RegExp is const, really.
...
Review URL: https://chromiumcodereview.appspot.com//9702048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5513 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 09:19:12 +00:00
efortuna@google.com
ec3f00e731
Revert revision 5463. Caused breakage on browser bots.
...
Review URL: https://chromiumcodereview.appspot.com//9700024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5473 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 16:56:32 +00:00
ngeoffray@google.com
1190c8ab38
Update tests expectations for legium.
...
Review URL: https://chromiumcodereview.appspot.com//9706014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5463 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 13:28:38 +00:00
kasperl@google.com
a553c64c7f
Allow interpolated strings and adjacent strings to be compile-time constants.
...
R=ngeoffray@google.com
BUG=http://dartbug.com/2110,http://dartbug.com/2127
TEST=
Review URL: https://chromiumcodereview.appspot.com//9700016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5461 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 12:44:17 +00:00
hausner@google.com
63b525bb0e
Revert change 5444
...
Review URL: https://chromiumcodereview.appspot.com//9703004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5448 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 00:35:16 +00:00
zundel@google.com
c11ae36c38
Fixes cyclic constructor issue in dartc
...
I moved leg's test into language since the same test replicated the problem.
Review URL: https://chromiumcodereview.appspot.com//9689086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5447 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 00:19:23 +00:00
hausner@google.com
a995d60106
named optional parameters must not be private
...
Named optional parameters may not start with an underscore '_'.
Fix issue 434 (http://code.google.com/p/dart/issues/detail?id=434 )
Review URL: https://chromiumcodereview.appspot.com//9701001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5444 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 23:24:37 +00:00
regis@google.com
640a7cf409
Mark previously skipped tests as failing with references to new issues.
...
Review URL: https://chromiumcodereview.appspot.com//9692063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5439 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 21:18:09 +00:00
regis@google.com
d74c2008be
Fix type check to perform a subtype test at top level instead of an
...
assignability test. This only makes a difference when assigning an instance of
a function type.
Fix a bad language test.
Disable a bad co19 test (issue 99 filed).
Change error message for dynamic type error.
Review URL: https://chromiumcodereview.appspot.com//9664029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5413 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 16:16:12 +00:00
ngeoffray@google.com
4c77fe620f
Enable isolate tests with leg and legium.
...
Review URL: https://chromiumcodereview.appspot.com//9677019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5411 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 15:44:30 +00:00
lrn@google.com
6636f083a9
Switch-implementation.
...
Change parser to compile several case expressions into one SwitchCase - so there is one case per statement group.
Make the builder generate a structure similar to what would be created by an if/else-if cascade with logically or'ed comparisons as conditions.
Not handling continues (but then, nothing is yet).
Review URL: https://chromiumcodereview.appspot.com//9632018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5389 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 10:48:30 +00:00
floitsch@google.com
c39c5859af
Return -0.. when the input to toStringAs* is -0.0.
...
Review URL: https://chromiumcodereview.appspot.com//9695006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5388 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 10:26:51 +00:00
iposva@google.com
becaecaad3
- Fix year in header.
...
Review URL: https://chromiumcodereview.appspot.com//9692030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5378 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 01:05:30 +00:00
iposva@google.com
9e93428d9e
- Allow string interpolation in constant strings.
...
- Add test for constant adjacent strings with and without interpolation.
- Update status files.
Review URL: https://chromiumcodereview.appspot.com//9694024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5377 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 00:59:17 +00:00
sigmund@google.com
2b5952ac6c
SendPort + ReceivePort changes:
...
- document what are valid messages in SendPort.send
- change SendPort.call to return a future of the reply
- remove ReceivePort.singleShot
Review URL: https://chromiumcodereview.appspot.com//9652001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5368 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 22:52:36 +00:00
zundel@google.com
02858c27a9
Base test case of a multi-test now insists no static type warnings
...
There were 5 multitests that need adjustment after this change. 4 of them
were trivial changes, so I went ahead and fixed them.
http://code.google.com/p/dart/issues/detail?id=2107
Review URL: https://chromiumcodereview.appspot.com//9664065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5350 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 19:41:07 +00:00
ahe@google.com
e49597231b
Skip less tests.
...
Review URL: https://chromiumcodereview.appspot.com//9695003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5344 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 19:08:22 +00:00