Commit Graph

735 Commits

Author SHA1 Message Date
rmacnak@google.com 58c1759454 Generic instantiations of mixins and interfaces. Equality of type parameters.
BUG=http://dartbug.com/14113
BUG=http://dartbug.com/14114
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28768 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 00:16:34 +00:00
rmacnak@google.com c7211b51c4 Re-enable constructor kinds test on Mac Dartium following fix to initializion of the redirection bit in r28736.
BUG=http://dartbug.com/13999
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28761 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 23:18:09 +00:00
blois@google.com c1996cc17f Updating microtask test status
I believe that https://codereview.chromium.org/27565003 had a typo (does not include DRT).

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28748 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 20:42:14 +00:00
rmacnak@google.com de9bfaa347 Update mirror tests to new mixin application syntax.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28742 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 18:22:12 +00:00
ajohnsen@google.com 4bd615fa32 Fix status-file for schedule_microtask_test on dart2js-drt.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28738 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 17:41:25 +00:00
zarah@google.com 5ad0b1da0a Revert "Reapply "Add TypeVariable object on runtime to support reflection on type variables." and "Fix type of Iterable."."
This reverts commit r28726.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28730 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 16:13:14 +00:00
kustermann@google.com 962511d688 Skip zoned tests on dartium/drt
Review URL: https://codereview.chromium.org//27197008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28728 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 15:53:49 +00:00
zarah@google.com 9ed673286a Reapply "Add TypeVariable object on runtime to support reflection on type variables." and "Fix type of Iterable.".
This reverts r28717.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28726 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 15:15:09 +00:00
lrn@google.com a2e03e5463 Fix flaky stream_controller_async_test.
BUG= http://dartbug.com/163608
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28719 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 11:29:13 +00:00
zarah@google.com ea215826f9 Revert "Add TypeVariable object on runtime to support reflection on type variables." and "Fix type of Iterable.".
This reverts commit r28708 and r28713.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28717 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 09:47:13 +00:00
ajohnsen@google.com 762ac7f511 Add support for micro-tasks in Dartium.
We are using the MutationObserver to schedule immediate events.

BUG=
R=blois@google.com, floitsch@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28715 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 09:16:22 +00:00
lrn@google.com 8b1d5720f7 Change "typedef" to "class" in core library and related tests.
R=floitsch@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28712 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 09:02:46 +00:00
zarah@google.com a741237b80 Add TypeVariable object on runtime to support reflection on type variables.
R=ahe@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28708 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 08:17:16 +00:00
rmacnak@google.com 15bc17777f Add mirror tests for generic interfaces. Add base-language test for malbounded interfaces.
B=http://dartbug.com/14118
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28703 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 01:06:56 +00:00
rmacnak@google.com e8d030b338 Do not hide membership of implementation classes in dart:core.
BUG=http://dartbuc.com/12141
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28695 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 00:15:10 +00:00
rmacnak@google.com 06e159f087 Add mirror tests for f-bounded mixin applications and generic mixins (not to be confused with mixin applications).
R=ahe@google.com, gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28664 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 17:22:48 +00:00
rmacnak@google.com 259c83c8d5 Add test for ClassMirror.mixin. Rename the mixin application test.
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28660 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:55:46 +00:00
rmacnak@google.com 9662a9ab58 Give dart2js partial coverage from the initializing formals test. (Mostly their types.)
BUG=http://dartbug.com/11281
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28656 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:40:31 +00:00
ajohnsen@google.com 732ab1ce4d Add factory-method for scheduleMicrotask, as well as a (failing) test.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28653 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:22:04 +00:00
floitsch@google.com 10e9a799d1 Make print interceptable.
BUG= http://dartbug.com/3486
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28650 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 16:02:07 +00:00
rmacnak@google.com d278f9f3c4 New mirror tests: basic types found in dart:core and member collections are immutable.
R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28591 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-14 17:07:32 +00:00
floitsch@google.com 0f7a0bd7b1 Rename runAsync to scheduleMicrotask.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28569 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 15:52:17 +00:00
floitsch@google.com dc9c5f42ed Redo StreamTransformers so they work with Stack traces.
Since this involved a breaking change I cleaned up more of the
StreamTransformer API.

This CL also deprecates the getAttachedStackTrace method.

R=ajohnsen@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28562 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-12 12:34:34 +00:00
rmacnak@google.com 564fbb68dd Add proper API for creating private symbols wrt a library.
BUG=http://dartbug.com/13355
BUG=http://dartbug.com/12358
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28551 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 20:56:14 +00:00
scheglov@google.com 037710054d Issue 13703. Report CONFLICTING_TYPE_VARIABLE_AND_CLASS and CONFLICTING_TYPE_VARIABLE_AND_MEMBER.
https://code.google.com/p/dart/issues/detail?id=13703

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28541 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 19:17:04 +00:00
floitsch@google.com 3cdd1b2e72 Update status file with flaky stream_controller_async_test.
Review URL: https://codereview.chromium.org//26851006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28518 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 14:50:16 +00:00
floitsch@google.com 4be547c705 Adapt streams for additional stackTrace argument.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28511 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 12:02:20 +00:00
floitsch@google.com 956243966a Add second argument to Future error handlers.
R=lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28510 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 11:42:39 +00:00
kustermann@google.com b24a73c137 Remove unittest-based wrapping from our testing scripts
The unittest-based wrapping of tests is completely broken and will be removed
with this CL. ('none-drt' is the last configuration where we currently still do
unittest-based wrapping.)

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28501 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 09:01:17 +00:00
rmacnak@google.com 8a0d62f5f9 Substitution for type variables in mirrors on instantiated generics.
BUG=http://dartbug.com/12282
BUG=http://dartbug.com/13808
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28495 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 01:51:11 +00:00
rmacnak@google.com 2320d631c2 Mark constructor_kinds as failing on Mac Dartium.
Review URL: https://codereview.chromium.org//26273004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28494 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 01:31:38 +00:00
johnmccutchan@google.com 90895e8d39 Forward stores to loads for SIMD arrays
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28467 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 17:43:50 +00:00
karlklose@google.com fe699a2139 Update dart2dart test expectations.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28461 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 16:30:13 +00:00
ricow@google.com bebf082a9e Update crash suppression to include dartium timeout (for dartium)
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28447 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 11:54:06 +00:00
rmacnak@google.com 281980cb4d Mark generic bounds tests as failing the analyzer as well.
Review URL: https://codereview.chromium.org//26420003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28437 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 00:54:36 +00:00
rmacnak@google.com 90772b13b8 Mirror tests for type bounds.
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28435 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 00:34:17 +00:00
rmacnak@google.com 6ed9f2c17f Implement constructor kinds in the VM mirrors.
BUG=http://dartbug.com/13798
R=asiva@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28416 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 20:40:11 +00:00
vsm@google.com 334fd6bf07 Mark spawnFunction tests as Fail on Dartium
See corresponding Dartium CL:
https://chromiumcodereview.appspot.com/26397003/

This disables spawnFunction on DOM enabled isolate (i.e., where
dart:html is available).  spawnFunction should continue to work on
non-DOM enabled isolated.  spawnUri should be unaffected.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28406 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 16:25:28 +00:00
rmacnak@google.com 41f0d0e0f1 Correctly report the type of initializing formals declared without an explicit type to be the type of the corresponding field.
BUG=http://dartbug.com/11281
R=gbracha@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28349 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-08 01:08:59 +00:00
rmacnak@google.com 27d8969f33 Add test coverage for InstanceMirror.type in the face of a reflectee that overrides runtimeType.
R=gbracha@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28311 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 16:38:43 +00:00
ricow@google.com 478e651c90 Mark lib/mirrors/delegate_test as failing in csp mode
Filed issue 13864 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28303 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 11:21:08 +00:00
kustermann@google.com ac254a8633 Status file update for builders runnig none-dartium tests
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28297 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-06 21:10:25 +00:00
scheglov@google.com 59fd8f58c8 New analyzer_experimental snapshot.
1. "catch (Exception e)" is translated into "on JavaException catch (e)".
2. Java exceptions now extend JavaException.
3. MemberMap moved into resolver, because it is not a generic collection and has references to elements.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28296 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-06 05:11:15 +00:00
rmacnak@google.com b297840078 Also mark new tests as failing on the full browser.
Review URL: https://codereview.chromium.org//26047002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28285 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 22:06:56 +00:00
efortuna@google.com eaa854b258 Move Rectangle and Point into dart:math.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28272 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:47:39 +00:00
rmacnak@google.com 4691c007bf More mirror tests: initializing formals and substituted types in instantiated generics.
BUG=
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:41:51 +00:00
rmacnak@google.com b444bb86a9 Add missing test coverage for constructor kinds, generic function typedefs, generic mixin applications, delegate, type arguments are type variables.
BUG=
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28270 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:32:21 +00:00
rmacnak@google.com 3cbf9141ae Make reflectClass in dart2js behave appropriately when passed bad arguments.
BUG=http://dartbug.com/13145
R=zarah@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28269 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:25:08 +00:00
kustermann@google.com 2375d10c36 Mark two tests as flaky on none-dartium
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28267 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 16:41:59 +00:00
kustermann@google.com edacf33810 Status file update for none-dartium
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28254 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 09:25:26 +00:00