Commit Graph

5559 Commits

Author SHA1 Message Date
scheglov@google.com f8c9216209 Attempt to fix VM build
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13963 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:53:28 +00:00
scheglov@google.com 50b5b6e1a8 Parts must start with 'part of'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13961 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:20:50 +00:00
kasperl@google.com 51ac327fb3 Mark tests as passing.
These tests started passing because we no longer distinguish
between ObjectNotClosureException and NoSuchMethodError.

R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13953 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 12:08:18 +00:00
lrn@google.com bf7421f118 Remove reference to ObjectNotClosureException in dart2js.
Now with correct co19 test expectations.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13924 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 07:42:38 +00:00
hausner@google.com 76ef223e2d Make super accessible in closures.
Fix issue 3197.
Review URL: https://codereview.chromium.org//11225050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13917 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 00:13:39 +00:00
regis@google.com 171b1a6731 Remove explicit --reject_named_argument_as_positional flag in language tests.
Fix language test that only worked under the old optional parameter semantics.
Review URL: https://codereview.chromium.org//11230041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13914 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 23:16:33 +00:00
hausner@google.com 2f93dfb15d Fix inheritance of certain static members in VM
Fixes bug 3778
Review URL: https://codereview.chromium.org//11225033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13901 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 18:54:58 +00:00
regis@google.com 3f0b894dbe Enforce new optional parameter rules.
Review URL: https://codereview.chromium.org//11186064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13891 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 16:46:26 +00:00
floitsch@google.com 9074fd0178 Make hashCode a getter and not a method.
Review URL: https://codereview.chromium.org//11191078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13866 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:41:04 +00:00
lrn@google.com 0a5365a4dd Revert "Removing reference to ObjectNotClosureException from dart2js."
Not entirely co19 compatible.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13862 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 11:48:59 +00:00
lrn@google.com 523a0f5204 Removing reference to ObjectNotClosureException from dart2js.
BUG=5509

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13861 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 11:25:57 +00:00
fschneider@google.com 89cab1577b Enable redundancy elimination for array loads.
This CL also adds a second round of CSE if necessary to make use
 of secondary effects for more optimization opportunities.
Review URL: https://codereview.chromium.org//11234002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13859 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 10:40:19 +00:00
lrn@google.com e0527ef304 Change StackOverflowException to be an Error.
Also change OutOfMemoryError to actually extend Error.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13857 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 09:51:14 +00:00
tball@google.com e0db231c1a Fixed failing 4_External_Functions_A01_t01 test, updated co19-runtime.status with triaged test bug numbers.
BUG=5430

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13843 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 22:15:11 +00:00
hausner@google.com 63cf1b15d2 Handle super != and ?
Fix two bugs regarding != and argument definition test.

issue 2554
issue 6050
Review URL: https://codereview.chromium.org//11225006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13837 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 20:06:03 +00:00
lrn@google.com 89f5daea9e Rename OutOfMemoryException to OutOfMemoryError.
This is a reapply with missing status file changes.

TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13822 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 14:01:24 +00:00
kasperl@google.com f7a56d3f70 Revert "Rename OutOfMemoryException to OutOfMemoryError."
This reverts r13818.

TBR'ed.

R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13820 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 13:11:15 +00:00
lrn@google.com 58f3453267 Rename OutOfMemoryException to OutOfMemoryError.
Also move ExceptionImplementation to core.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13818 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 12:20:52 +00:00
johnniwinther@google.com ae1bce944e Move line in status file.
Review URL: https://codereview.chromium.org//11187068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13815 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 09:22:37 +00:00
johnniwinther@google.com 8a122ad798 Remove VariableScope, Scope.lexicalLookup and Scope.inStaticContext
Review URL: https://codereview.chromium.org//11183053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13810 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 08:34:31 +00:00
karlklose@google.com 7540be2fc0 Change test expectations.
Review URL: https://codereview.chromium.org//11189083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13807 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 07:15:23 +00:00
efortuna@google.com 2e36281e1a Change firefox test status.
Review URL: https://codereview.chromium.org//11203004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13804 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 23:19:50 +00:00
fschneider@google.com bb295716fc Disable hoisting of checked-mode assertions out of loops.
They can only be safely hoisted if the loop is always executed at least
once. For now, I added a TODO to add an analysis for safely hoisting these
asserts.

TEST=tests/language/optimized_hoisting_checked_mode_assert.dart
Review URL: https://codereview.chromium.org//11195042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13791 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 17:37:04 +00:00
hausner@google.com ddcca5bc14 Check illegal reference to 'this' in factory redirection
Fixes bug 2103.
Review URL: https://codereview.chromium.org//11190033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13790 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 17:20:59 +00:00
ahe@google.com a937c8e7a1 Disable argument type optimization for named parameters.
BUG=http://dartbug.com/6015

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13784 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 15:23:42 +00:00
regis@google.com fb20ac26dd Third round of cleanups for new optional parameter semantics.
Review URL: https://codereview.chromium.org//11191043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13782 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 15:13:31 +00:00
hausner@google.com 506ae29b8a Enable constructor name check by default
Remove the runtime flag that turns on the name check
for named constructors.

Eliminate obsolete test and test case.
Review URL: https://codereview.chromium.org//11194033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13755 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 20:02:07 +00:00
efortuna@google.com 4839206863 Rename ie to ie9.
Review URL: https://codereview.chromium.org//11184015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13748 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:44:38 +00:00
floitsch@google.com 1ff566fc35 Fix compile_time_constant test.
BUG=http://dartbug.com/3491

Committed: https://code.google.com/p/dart/source/detail?r=13731

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13738 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 13:19:50 +00:00
floitsch@google.com e9c15f131d Revert "Fix compile_time_constant test."
This reverts commit 13731.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13737 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 12:59:44 +00:00
floitsch@google.com fc19636285 Fix compile_time_constant test.
BUG=http://dartbug.com/3491

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13731 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 12:25:17 +00:00
hausner@google.com 384115d235 Remove built-in identifier 'negate' from VM
Keep the token kNEGATE for the backend to distinguish between
unary and binary - operator.
Review URL: https://codereview.chromium.org//11199002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13700 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 20:19:06 +00:00
regis@google.com adb534674c Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
Review URL: https://codereview.chromium.org//11090016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 16:03:47 +00:00
kasperl@google.com d6224876ca Landing Peter's fix for function-typed field initializer arguments.
This is https://codereview.chromium.org/11109015/ which has already
been reviewed.

TBR'ed.

R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13647 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-15 08:00:53 +00:00
hausner@google.com 08fb5d4212 Fix dartc test status
Review URL: https://codereview.chromium.org//11151003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13639 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 23:16:02 +00:00
hausner@google.com 294080c1f8 Fix dartc status file
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13638 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 22:59:20 +00:00
hausner@google.com 1811a6b913 Support for type dynamic in VM
Old name Dynamic is supported, and automatically converted to
lower-case dynamic when parsed.

VM flag --warn_legacy_dynamic prints warnings when Dynamic
is found.
Review URL: https://codereview.chromium.org//11125005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13637 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 22:40:24 +00:00
scheglov@google.com 95bd9037c8 Issue 5735. Fix for 'export' without 'import'
http://code.google.com/p/dart/issues/detail?id=5735

Partial fix, only for "export" without "import".
There are also problem with this test.

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13621 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 13:54:09 +00:00
floitsch@google.com e88c4aa053 Reserve a state variable for the bailout function.
BUG=http://dartbug.com/5807

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13620 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 13:37:25 +00:00
karlklose@google.com d425863d08 Adjust dartc test expectations.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13615 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 11:36:29 +00:00
johnniwinther@google.com 95685804f1 Updated language.status issues.
Review URL: https://codereview.chromium.org//11117016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13613 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 11:21:01 +00:00
antonm@google.com 453c93758f Update test expectations after tests were fixed.
TBR=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13612 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 11:20:33 +00:00
kasperl@google.com 20084e0e34 Land Alexander's change that throw on abstract class instantiations.
This has already been reviewed here:
https://chromiumcodereview.appspot.com/11013010/

TBR'ed.

R=ahe@google.com,aprelev@gmail.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13610 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 11:10:09 +00:00
karlklose@google.com e02514602b Change test so that it does not use the built-in 'library'.
According to the spec it is not illegal to use 'library' as a library prefix. However, dart2js does not accept (http://dartbug.com/5825). Since the name of the prefix is not important to this test, I changed the name.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13609 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 11:04:36 +00:00
antonm@google.com 4bbfc124b8 Update test expectations.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13605 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 10:24:09 +00:00
ahe@google.com d866f6b341 Update dart2js status after adding more built-in identifiers.
Review URL: https://codereview.chromium.org//11111013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13597 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-12 07:20:18 +00:00
efortuna@google.com f1752d553b Update test status for import_combinators_test.
Review URL: https://codereview.chromium.org//11094077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13566 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 17:44:28 +00:00
efortuna@google.com 7d036f354c change first_class_types_libraries_test status.
Review URL: https://codereview.chromium.org//11086080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13565 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 17:43:00 +00:00
ricow@google.com fa9aa275c6 Update status file to include failure for test_call on dart2dart on the vm.
Review URL: https://codereview.chromium.org//11085081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13553 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 16:18:58 +00:00
ricow@google.com 4c04a0ad66 Fix status file for language/call_test, this is only an issue when running native.
Review URL: https://codereview.chromium.org//11085075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13549 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 15:27:40 +00:00