kasperl@google.com
1a3e9c39b1
Make replyTo argument optional in SendPort.send.
...
R=benl@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3561014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@207 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 10:44:50 +00:00
floitsch@google.com
c082160907
Allow mixing of heavy and light isolates.
...
Review URL: https://chromereviews.googleplex.com/3558015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@206 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 10:37:53 +00:00
jgw@google.com
87d272b003
Fully removes support for positional parameters with default values.
...
Review URL: https://chromereviews.googleplex.com/3576012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@204 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 09:18:48 +00:00
ngeoffray@google.com
c2b5e488da
Remove substringToEnd.
...
Review URL: https://chromereviews.googleplex.com/3561013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@201 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:41:38 +00:00
floitsch@google.com
697b7b46b8
Add another isolate message passing test.
...
Review URL: https://chromereviews.googleplex.com/3572012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@200 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:31:35 +00:00
kasperl@google.com
de889ee719
Get rid of the support for the old parameter syntax.
...
I've CC'ed Matthias too and I wouldn't be surprised if he can
find a nicer way of dealing with this, but this is pretty
simple and allows me to make progress on getting rid of the
old syntax.
R=iposva@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3569013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@199 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:03:04 +00:00
johnlenz@google.com
83337cd637
Remove the now-not-failing test from the right arch/mode
...
Review URL: https://chromereviews.googleplex.com/3550018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@173 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:47:34 +00:00
sra@google.com
56cc8ce66f
Test for deeply nested parameterized types.
...
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3543014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@171 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:11:00 +00:00
regis@google.com
db3a736c33
Support optional named arguments at the dart_entry level in the VM.
...
Fix bug 5422033: Const expressions don't work with named arguments.
Review URL: https://chromereviews.googleplex.com/3552015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@168 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:40:45 +00:00
johnlenz@google.com
8ad115f998
Fix RTT map lookups in optimized mode.
...
Review URL: https://chromereviews.googleplex.com/3535020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@167 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:36:35 +00:00
zundel@google.com
a7a60d23c2
Fix build break on co19 file
...
I cannot get the test to fail locally, so marked it 'Skip'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@154 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 20:34:56 +00:00
zundel@google.com
6bd18f8086
Fix name shadowing problem in compiler
...
Names in a scope should create shadow copies of names in enclosing scopes.
BUG=5382396
Review URL: https://chromereviews.googleplex.com/3543020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@147 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 19:17:31 +00:00
asiva@google.com
0b30a49971
5419598: Add a setjmp around the isolate spawning code so that parse errors
...
are caught and reported as errors.
5417103: Add a setjmp around Dart_Run_Loop so that parse errors
are caught and reported as errors.
Review URL: https://chromereviews.googleplex.com/3553012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@140 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:33:36 +00:00
srdjan@google.com
44392fdb03
Fix resolving of implicit closures: treat null objects same as instances of Object.
...
Review URL: https://chromereviews.googleplex.com/3551013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@138 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 16:31:31 +00:00
floitsch@google.com
fdf276dd2a
Add test for const constructions with named arguments.
...
Review URL: https://chromereviews.googleplex.com/3530018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@134 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:56:33 +00:00
zundel@google.com
fa609a58ec
Updates the resolver to print the line and column number for name conflicts
...
Along the way I gave the ResoverTest more specific errors to test
against and found some cases that weren't being flagged properly
as errors.
BUG=5415945
Review URL: https://chromereviews.googleplex.com/3544012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@132 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:35:05 +00:00
floitsch@google.com
251cb020ec
Add comments to DateTimeTest.
...
R=ngeoffray@google.com
Review URL: https://chromereviews.googleplex.com/3540014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@131 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:28:14 +00:00
floitsch@google.com
1229e5b8db
Implement Date.weekday.
...
Review URL: https://chromereviews.googleplex.com/3541012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@125 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:47:41 +00:00
floitsch@google.com
382580f9a7
Rename Time to Duration and adapt methods.
...
Review URL: https://chromereviews.googleplex.com/3536013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@121 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:21:57 +00:00
zundel@google.com
d13c2d80f7
Simplifies a couple of tests that are failing in the compiler.
...
This doesn't actually fix anything, just makes a couple of tests simpler.
These tests are meant to test the visibility of symbols in libraries,
but there was some extra baggage in the test that might make it
fail for unrelated reasons.
BUG=5406175
Review URL: https://chromereviews.googleplex.com/3536017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@118 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 13:51:37 +00:00
floitsch@google.com
57fb110ca4
Update isolate.status file.
...
R=ngeoffray@google.com
Review URL: https://chromereviews.googleplex.com/3535016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@117 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 12:43:02 +00:00
benl@google.com
7413962616
Review URL: https://chromereviews.googleplex.com/3532014
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@113 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:40:31 +00:00
benl@google.com
7ddf68b7b3
Review URL: https://chromereviews.googleplex.com/3507025
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@112 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:19:01 +00:00
floitsch@google.com
19610c461e
Unbreak the build.
...
Update status file, while investigating what's going wrong.
TBR=ngeoffray
R=ngeoffray@google.com
Review URL: https://chromereviews.googleplex.com/3535015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@109 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:48:22 +00:00
floitsch@google.com
15727ed074
Rename DateTime to Date.
...
Review URL: https://chromereviews.googleplex.com/3529013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@107 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:14:49 +00:00
ngeoffray@google.com
eebda50623
Update status file to reflect what's implemented in dartc and fix bot.
...
Review URL: https://chromereviews.googleplex.com/3551014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@104 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 09:28:21 +00:00
floitsch@google.com
98d704a3cb
Remove Date class and remove .time from DateTime.
...
Review URL: https://chromereviews.googleplex.com/3508024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@103 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 09:20:30 +00:00
ngeoffray@google.com
d42cadb575
Remove directory because it clashes with the existing runtime/tests/dart.
...
Review URL: https://chromereviews.googleplex.com/3502035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@102 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 08:38:43 +00:00
ngeoffray@google.com
808542f40b
Move co10 tests to tests/co19.
...
Review URL: https://chromereviews.googleplex.com/3538014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@100 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 08:06:12 +00:00
ngeoffray@google.com
c05cfb10c0
- Now that prefixes have been implemented, remove the trampoline hack for calling main in a browser test.
...
- Update some tests to define #library, as the #library is required by the dart blob we're emitting for testing in the browser
- Update language.status to reflect reality.
Review URL: https://chromereviews.googleplex.com/3522016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@94 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 07:11:49 +00:00
mmendez@google.com
115fc3df08
Revert "Revert "Eliminate retarded constructors.""
...
This reverts r66 which was a revert of r64. The original commit failed because "optimized" mode builds won't generate NoSuchMethodErrors and that is why the release mode test won't pass. So for that issue, I updated the language.status file.
The client failure appears to be test infrastructure flakiness because my rollback failed but the subsequent build succeeded and I'm unable to reproduce the failure at my desk.
Review URL: https://chromereviews.googleplex.com/3508025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@88 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 02:46:31 +00:00
mmendez@google.com
ad9389b6ca
Revert "Eliminate retarded constructors."
...
This reverts commit r64.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3530013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@66 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:03:49 +00:00
mmendez@google.com
1fae22da51
Eliminate retarded constructors.
...
Modified: Resolver, Normalizer and GenerateJavascriptAST to special case implicit default constructors. Would be simpler if there was a notion of synthetics, but this is not the time to add such a scheme -- if nothing else it would disrupt the IDE.
BUG=4562150
Review URL: https://chromereviews.googleplex.com/3522019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@64 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 19:43:55 +00:00
jgw@google.com
da2581daa9
Fix for classes that are the default factory for multiple other classes/interfaces.
...
BUG=5009110
Review URL: https://chromereviews.googleplex.com/3522018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@47 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:25:25 +00:00
ngeoffray@google.com
a717c9b7c1
Fix library prefixes on top-level elements. Update status file to reflect reality on library prefixes.
...
Review URL: https://chromereviews.googleplex.com/3521018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:13:59 +00:00
zundel@google.com
78d16cca6c
Create a directory for python package, move 'testing' in there
...
Review URL: https://chromereviews.googleplex.com/3514028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:01:12 +00:00
floitsch@google.com
100f10211e
Add tests for const classes.
...
Review URL: https://chromereviews.googleplex.com/3524015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:36:26 +00:00
floitsch@google.com
6615d4cc39
Make stub-generator tests non-batchable.
...
Review URL: https://chromereviews.googleplex.com/3514029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:15:50 +00:00
floitsch@google.com
b87f38077c
Make open receive ports a non-fatal closing condition.
...
R=kasperl@google.com
Review URL: https://chromereviews.googleplex.com/3508021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 11:46:26 +00:00
floitsch@google.com
dacfcd5fa2
Allow nested spawns.
...
Review URL: https://chromereviews.googleplex.com/3511015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 11:38:17 +00:00
dgrove@google.com
ebe439410d
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 06:22:36 +00:00