Commit Graph

3219 Commits

Author SHA1 Message Date
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
efortuna@google.com 273e94b287 Missed one commit in revert.
BUG=

Review URL: https://codereview.chromium.org//11791011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16679 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:29:44 +00:00
efortuna@google.com 274ac61643 Reverting everything because package root + dartium is causing serious problems.
DART_PACKAGE_ROOT environment variable is set for drt, but not dartium, and is location is problematic with respect to serving the files in the dartium checkout.

Review URL: https://codereview.chromium.org//11800002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:20:06 +00:00
efortuna@google.com 7817fd8eae Correct location of new optional server list.
Review URL: https://codereview.chromium.org//11772008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16673 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 03:14:35 +00:00
efortuna@google.com f7d735abfd Fix up co19 tests with test.dart change.
Review URL: https://codereview.chromium.org//11788008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16672 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 03:12:09 +00:00
iposva@google.com 14e82cd48e - Update status files for dart2dart and dartc
Review URL: https://codereview.chromium.org//11583029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16536 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 01:41:45 +00:00
tball@google.com 18e748d0b3 Implemented class literals in the VM.
Review URL: https://codereview.chromium.org//11633054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16530 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 23:45:40 +00:00
bak@google.com 041a0189e5 Updated the darc co19 status file.
Review URL: https://codereview.chromium.org//11647032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16359 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 11:43:35 +00:00
bak@google.com 6c398a3a25 Fixed Issue 7508: Many StringBuffer methods return StringBuffer, but should be void.
- Methods in StringBuffer have now been changed so they do not return this.
- This forces the programmer to use cascaded calls instead of flaky chaining of calls.
Review URL: https://codereview.chromium.org//11645019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16358 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 11:13:27 +00:00
ngeoffray@google.com e858839d33 Re-apply "support for typedef in checked mode" and fix the checked mode failures on drt by not sharing bound closures that have typedef checks.
Review URL: https://codereview.chromium.org//11628009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16320 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 14:11:43 +00:00
regis@google.com aef9047742 Invoke noSuchMethod instead of immediately throwing NoSuchMethodError when
invoking a non-closure as a closure (reopened issue 3326).
Address comments of last cl.
Review URL: https://codereview.chromium.org//11612002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16220 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 19:35:16 +00:00
ngeoffray@google.com 6497877127 Revert r16154: some browser tests in checked mode fail.
Review URL: https://codereview.chromium.org//11564034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16157 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 11:14:27 +00:00
ngeoffray@google.com 0db17a53b3 Support for typedef in checked mode.
Review URL: https://codereview.chromium.org//11572009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16154 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 09:00:49 +00:00
scheglov@google.com 4d1840ce18 Issue 6974. Report warning when arguments are given for 'dynamic' or type variable.
http://code.google.com/p/dart/issues/detail?id=6974

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11569014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16135 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 19:12:39 +00:00
karlklose@google.com ccb84b78c1 Implement subtype checks on type arguments.
BUG=dartbug.com/5096

Review URL: https://codereview.chromium.org//11557010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16116 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 15:04:53 +00:00
ngeoffray@google.com e991126590 We now put the right type annotations when indexing into an array, and get a type error in checked mode if the index is not an int.
Review URL: https://codereview.chromium.org//11566008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16098 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 10:24:24 +00:00
ngeoffray@google.com ed9869c83a Re-apply "Move the handling of operator[] into the new interceptors."
Review URL: https://codereview.chromium.org//11316354

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16095 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 09:58:38 +00:00
karlklose@google.com 0553661606 Implement is-checks for closures.
BUG=dartbug.com/5022

Review URL: https://codereview.chromium.org//11548027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16090 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 08:56:36 +00:00
scheglov@google.com 694b17e439 Issue 6971. Fixes for using built-in identifier as import prefix.
http://code.google.com/p/dart/issues/detail?id=6971

Only first part of issue.
I don't agree that code like this is valid:
   abstract<dynamic> v;

I think "abstract" here is still type annotation, so error should be reported.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11549028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16086 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 01:16:41 +00:00
scheglov@google.com a691a8955c Issue 6836. Reference to prefixed undeclared identifier in static context is also warning
http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11548014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16050 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 16:56:30 +00:00
kasperl@google.com 9ebc9efc49 Don't rename 'call' in dart2dart.
BUG=http://dartbug.com/7341

Review URL: https://codereview.chromium.org//11558016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16038 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 13:42:15 +00:00
ngeoffray@google.com f359e73f94 Revert r16032: it revealed a bug in our bailout environment computation.
Review URL: https://codereview.chromium.org//11543017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16035 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 13:11:39 +00:00
ngeoffray@google.com aaa180d67b Move the handling of operator[] into the new interceptors.
Review URL: https://codereview.chromium.org//11348316

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16032 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 11:55:09 +00:00
scheglov@google.com 67eca2faa2 Issue 6710. Report error for function libteral with return type and name.
http://code.google.com/p/dart/issues/detail?id=6710

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11533010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16019 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 06:23:35 +00:00
regis@google.com 530d8765ed Tests invoking the call operator do not pass in the minified version of
dart2dart.
Review URL: https://codereview.chromium.org//11543010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16014 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 02:11:24 +00:00
regis@google.com 54c221b19f Remove dart2dart test failures after r16009.
Review URL: https://codereview.chromium.org//11549008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16012 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 01:11:57 +00:00
regis@google.com 697550b2a2 Support call operator in the vm.
Review URL: https://codereview.chromium.org//11316343

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16009 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 00:48:58 +00:00
tball@google.com b45361c641 Triaged remaining VM test failures.
Review URL: https://codereview.chromium.org//11486021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16003 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 21:55:57 +00:00
scheglov@google.com 1f37d21d41 Issue 7282. Report error for deprecated === and !==
http://code.google.com/p/dart/issues/detail?id=7282

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11534013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15989 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 18:26:02 +00:00
johnniwinther@google.com 7ddb63235f Status updated
Review URL: https://codereview.chromium.org//11477008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15982 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 16:03:09 +00:00
johnniwinther@google.com b8804e0c8d Make RuntimeError an Error
Review URL: https://codereview.chromium.org//11442009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15981 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 15:39:11 +00:00
johnniwinther@google.com 8f57b4e962 Status updated.
Review URL: https://codereview.chromium.org//11527008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15978 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 14:44:35 +00:00
karlklose@google.com 84e36d5601 Implement is-checks with typedefs for callable objects.
This is not fixing all the tests in dartbug.com/5022, because these tests use static toplevel functions.

BUG=dartbug.com/5507

Review URL: https://codereview.chromium.org//11478022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15953 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 08:44:32 +00:00
johnniwinther@google.com 1d137ff741 invocation_mirror_test passed
BUG=http://dartbug.com/6907

Review URL: https://codereview.chromium.org//11447008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15950 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 07:49:45 +00:00
regis@google.com 3b1dfe51d1 Pass the proper invocation mirror argument to noSuchMethod.
Review URL: https://codereview.chromium.org//11523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15939 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 00:31:53 +00:00
tball@google.com 7dcef1c154 More co19 triage updates. No code was touched by this CL.
Review URL: https://codereview.chromium.org//11513011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15938 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 00:24:22 +00:00
tball@google.com 4590ee870c Triaged many of the co19 VM issues.
Review URL: https://codereview.chromium.org//11517008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15933 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 22:49:06 +00:00
karlklose@google.com 6d5654f4aa Represent runtime type information as nested lists.
The class of a type is represented either by its Javascript constructor or, if it is a native JavaScript type, by a string. A type without type arguments uses its class' representation. A types with type arguments is represented by a list, where the first element is the representation of the class and the rest are the representation of the arguments.

Review URL: https://codereview.chromium.org//11448009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15838 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 07:51:17 +00:00
johnniwinther@google.com ec5ed19385 co19 issue 334
Review URL: https://codereview.chromium.org//11412271

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15789 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 15:35:30 +00:00
johnniwinther@google.com 14f627a2e0 Fix type annotations on local variables.
BUG=http://dartbug.com/5348

Review URL: https://codereview.chromium.org//11445043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15788 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 15:24:29 +00:00
karlklose@google.com c9572e56d7 Fix URI test status in checked mode.
Review URL: https://codereview.chromium.org//11440032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15780 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 11:17:20 +00:00
karlklose@google.com 6309233f09 Update dart2dart status files after changing parameter handling in dart2js.
TBR=fschneider@google.com

Review URL: https://codereview.chromium.org//11447036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15777 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 10:40:57 +00:00
karlklose@google.com 0b9aae0fb8 Report compile time error if named argument is given twice.
BUG=dartbug.com/5213

Review URL: https://codereview.chromium.org//11446009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15776 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 10:05:03 +00:00
karlklose@google.com 0b9ee83b10 Report a compile-time error when a setter has not exactly one formal parameter.
BUG=dartbug.com/4870

Review URL: https://codereview.chromium.org//11453009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15774 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 09:27:44 +00:00
ahe@google.com ba2aa23ce9 Various status file updates.
Review URL: https://codereview.chromium.org//11448008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15726 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 10:27:11 +00:00
asiva@google.com 02f993df49 Update co19 status file for issue 7089 (fixed).
Review URL: https://codereview.chromium.org//11428169

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15714 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 22:59:04 +00:00
scheglov@google.com 4769c45988 More co19 clean up.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11421216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15700 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 18:58:24 +00:00
johnniwinther@google.com 54f3b81e28 MalformedType used for all invalid type annotations.
Review URL: https://codereview.chromium.org//11412245

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15684 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 12:02:29 +00:00
scheglov@google.com 5679566f2d More co19 triage.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11428131

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15644 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 17:49:07 +00:00
scheglov@google.com 17d16e41d7 Triage and fixes for co19 library tests.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11416307

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15643 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 17:30:21 +00:00