Commit Graph

984 Commits

Author SHA1 Message Date
kasperl@google.com 1bc39bc413 Correctly minify named mixin applications in dart2dart.
R=erikcorry@google.com
BUG=http://dartbug.com/8537

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18504 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 09:17:46 +00:00
srdjan@google.com 39713f0efc The code size does not scale with architecture word size, set code size cutoff limit to 200,000 bytes for all architectures
Review URL: https://codereview.chromium.org//12256028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18492 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 23:00:09 +00:00
srdjan@google.com b975d54c8e Test uses a lot of memory (optimizing compiler, issue 8529) and may cause timeouts on buildbots.
Review URL: https://codereview.chromium.org//12253014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18491 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 22:39:41 +00:00
hausner@google.com b2116af7ce Fix minified test status
Minifier chokes on some mixing tests. Non-minified dart2dart works.
Review URL: https://codereview.chromium.org//12252021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18487 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 22:14:11 +00:00
hausner@google.com b4527a7465 First stab at mixins in VM compiler
Things not yet supported:
- Type parameters for super class and mixin class
- super call limitation check
Review URL: https://codereview.chromium.org//12210127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18479 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:08:15 +00:00
hausner@google.com f71dfc4034 Mixin tests with libraries
Add tests where the mixin class is from an imported library.
Review URL: https://codereview.chromium.org//12250018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18407 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 22:45:56 +00:00
ngeoffray@google.com 6d960bfcde Also fails in dart2dart.
Review URL: https://codereview.chromium.org//12223070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18315 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 17:38:38 +00:00
ngeoffray@google.com 5402a011a4 VM does not implement mixins yet.
Review URL: https://codereview.chromium.org//12212112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18312 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 16:54:28 +00:00
floitsch@google.com e1efa71761 Hide collection-dev library.
Committed: https://code.google.com/p/dart/source/detail?r=18167
Reverted: https://code.google.com/p/dart/source/detail?r=18169

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18172 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 15:11:47 +00:00
scheglov@google.com 5b8f5acf9b Issue 6560. Reassign issue to tests to close issue.
http://code.google.com/p/dart/issues/detail?id=6560

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17688 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-27 00:28:35 +00:00
scheglov@google.com 368d8d1b5c Issue 8027. Disallow cyclic mixins.
http://code.google.com/p/dart/issues/detail?id=8027

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17664 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 22:47:10 +00:00
kasperl@google.com cdba6a35c8 Add more tests and fix the parser to deal with generic superclasses for mixin applications.
R=ahe@google.com,karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17635 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 10:15:09 +00:00
kasperl@google.com b8dc627d54 Add (failing) test case for mixin type parameters.
R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17630 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 08:45:34 +00:00
iposva@google.com 7e0cb951e8 Fix issue 8094:
- Do not assert that dart-scheme URIs point to libraries exclusively.
Review URL: https://codereview.chromium.org//12036089

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17604 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 21:56:10 +00:00
regis@google.com 517f653176 Fix argument test for the captured parameter of an outer function (issue 8007).
Review URL: https://codereview.chromium.org//12036088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17592 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:14:55 +00:00
johnniwinther@google.com d3eb38dc9e language.status updated.
Review URL: https://codereview.chromium.org//12047081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17573 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 14:32:50 +00:00
kasperl@google.com d67f2d705b Support 'implements' clause on typedef mixin applications.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17528 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 08:46:21 +00:00
kasperl@google.com d33321740a Disallow mixing in classes that use 'super'.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17527 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 08:29:24 +00:00
iposva@google.com 57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
scheglov@google.com 761ea9993f Issue 8025. Disallow mixing in classes that have constructors.
http://code.google.com/p/dart/issues/detail?id=8025

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17473 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:26:46 +00:00
scheglov@google.com 76771f343e Issue 8006. Allow abstract modifier for typedef mixin applications.
http://code.google.com/p/dart/issues/detail?id=8006

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17429 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:39:32 +00:00
scheglov@google.com 23bf0056b3 Issue 8022. Report compile-time error when using mixing with not Object superclass.
http://code.google.com/p/dart/issues/detail?id=8022

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17428 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:28:42 +00:00
kasperl@google.com 630b1956de Disallow cyclic mixins.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17399 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 14:16:36 +00:00
kasperl@google.com c18ce308f8 Disallow mixing in classes that have constructors.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17389 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 11:52:04 +00:00
kasperl@google.com 91a77ec04a Disallow access to static members of mixed in classes.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17384 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 10:30:18 +00:00
kasperl@google.com c633722d48 Disallow mixing in classes where the superclass != Object.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17375 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 09:00:23 +00:00
kasperl@google.com bea2194da7 Update status file for the analyzer.
TBR'ed.

R=scheglov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17349 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 12:56:12 +00:00
kasperl@google.com a0720ebb60 Add more mixin tests and start rejecting illegal syntax.
R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17342 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 11:37:52 +00:00
kasperl@google.com 3f57b647a5 Start allowing mixin application extensions.
This CL builds upon the code in https://codereview.chromium.org/11886097/
which needs to land before this one.

R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17270 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 13:16:48 +00:00
kasperl@google.com 5f04410a3b Get the most basic mixin applications working.
This CL builds upon the code in https://codereview.chromium.org/11970011/
so that needs to land before this can.

R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17268 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 13:01:45 +00:00
kustermann@google.com 9ee5fc4b53 Revert "Removed the 'we don't run multitests on browsers'-hack"
There is an issue with path names on dartium builders.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17185 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:20:12 +00:00
kustermann@google.com 442e7fc3b9 Removed the 'we don't run multitests on browsers'-hack
Review URL: https://codereview.chromium.org//11886064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17183 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 08:59:05 +00:00
kasperl@google.com 37d87ed2b3 Start adding support for mixin application syntax. We now parse the typedef variant of mixin applications like:
typedef C = S with M;

but the construct is still unhandled.

R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17129 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 10:12:55 +00:00
vegorov@google.com c2776cdbcc Canonicalize away redundant checks that appear after store-to-load forwarding.
BUG=dart:7513

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17016 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 12:15:11 +00:00
ngeoffray@google.com e9d53371e5 Status file update again.
Review URL: https://codereview.chromium.org//11858012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16971 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:54:19 +00:00
kustermann@google.com 96574ee329 Status file updates for jsshell
Review URL: https://codereview.chromium.org//11833035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16920 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 14:16:37 +00:00
johnniwinther@google.com 47343b3530 Report errors on repeated interfaces.
BUG=http://dartbug.com/7468

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16900 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 07:03:05 +00:00
scheglov@google.com 82f1c72f92 Initial support for mixins in dartc.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16864 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 17:13:02 +00:00
ahe@google.com fb2a233d2c Remove generic typedefs that dart2js chokes on.
Review URL: https://codereview.chromium.org//11794047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16797 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 13:51:44 +00:00
scheglov@google.com 1807de8a62 Triage language tests failures. https://codereview.chromium.org/11779029/
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16741 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 19:38:47 +00:00
scheglov@google.com c300988226 Update status files for dartc
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16737 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 19:08:08 +00:00
lrn@google.com 2b2de751a7 Fixed status files for dart2js corelib/lib/language tests.
Moved two tests to lib/async where they belong.

R=floitsch@google.com
CC=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16699 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 14:15:29 +00:00
kmillikin@google.com 309fcb1ba3 Fix incorrect desugaring of cascades.
Make use of the attractive and powerful way that the LoadLocal expression is
really a pair of an arbitrary statement and a local variable load.

BUG=dart:7494

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16684 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 10:03:17 +00:00
scheglov@google.com 63d5737d74 Issue 6578. Move 'getter/setter static mismatch' into type problems
http://code.google.com/p/dart/issues/detail?id=6578

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16650 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 22:12:29 +00:00
srdjan@google.com 9ab0cfc74a Add test for issues with cascades.
Review URL: https://codereview.chromium.org//11734032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16622 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-04 01:34:26 +00:00
tball@google.com 43675a7f3f Fixed type_parameter_literal_test, updated language status files with bug ids.
Review URL: https://codereview.chromium.org//11694010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16555 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 21:54:21 +00:00
iposva@google.com bf9b718d66 - Fix status for dartc and minified dart2dart.
Review URL: https://codereview.chromium.org//11697005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16537 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 03:31:39 +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 a254be19ed Suppressed class_literal_test for dart2dart.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16534 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 00:37:43 +00:00
tball@google.com cfb1b54619 Suppressed class_literal_test, which was updated to latest spec.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16533 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 00:26:58 +00:00