Commit Graph

1846 Commits

Author SHA1 Message Date
karlklose@google.com 6876052c30 Throw a NoSuchMethodException when attempting to call an undefined constructor.
R=ngeoffray@google.com
BUG=3802

Review URL: https://chromiumcodereview.appspot.com//10870037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11220 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 11:19:27 +00:00
johnniwinther@google.com 5e1e9a888d Status change: Dartc fails on static const in interfaces
Review URL: https://chromiumcodereview.appspot.com//10867013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11169 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 16:02:00 +00:00
johnniwinther@google.com f41a4ffac6 Language tests updated to use const instead of final.
Review URL: https://chromiumcodereview.appspot.com//10837359

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11165 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 15:36:19 +00:00
scheglov@google.com 305f5adaa7 Issue 4539. Tweaks for old/new spec compatibility
Temporary disables check for underscore in named optional parameters.
There are not way to know if user means old or new syntax.

Also makes "final" and "const" local variables a constant expressions.

R=brianwilkerson@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10824411

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11117 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 00:11:38 +00:00
antonm@google.com d9d9057fd3 Remove now unnecessary suppressions.
TBR=ahe@google.com,smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10829455

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11064 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:44:26 +00:00
antonm@google.com 1b4e931081 Properly rename type variables.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10861029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11054 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 14:46:53 +00:00
antonm@google.com 7c21f2cdb8 Unify private names treatment.
This change actually revealed a couple of problems we had. I am planning to
switch to even more unified treatment of privates and force renames at
visitIdentifier level.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10837343

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11027 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 10:26:12 +00:00
antonm@google.com 1ce7786738 Cleanup and comment suppressions.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10825453

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10979 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:22:51 +00:00
antonm@google.com bd073dfba3 Remove now passing tests.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10854222

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10976 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:13:13 +00:00
ahe@google.com 8f33632d6b Update status file for dart2dart.
Review URL: https://chromiumcodereview.appspot.com//10829422

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10962 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 14:00:51 +00:00
ahe@google.com 528e8f5a4c Update dart2dart status after updating getter syntax in tests.
Review URL: https://chromiumcodereview.appspot.com//10825446

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10944 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 11:41:47 +00:00
asiva@google.com 07aacbe99d Fix buildbot, remove failure status for import_core_no_prefix_test under runtime == chrome
Review URL: https://chromiumcodereview.appspot.com//10828379

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10930 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 23:32:49 +00:00
hausner@google.com e771745ef6 Exclude failing tests in Dartium
Can only guess what the sections in language.status are...
Fingers crossed.
Review URL: https://chromiumcodereview.appspot.com//10855232

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10927 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:52:11 +00:00
hausner@google.com 6b3267083a Remove meaningless test
prefix_core_test has become meaningless with the new
library and import scoping rules. It was also wrong
since print is defined in library built-in, not core.
Review URL: https://chromiumcodereview.appspot.com//10828375

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10925 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:28:02 +00:00
regis@google.com b054457305 Disable failing tests for dart2dart.
Review URL: https://chromiumcodereview.appspot.com//10837293

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10864 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 21:08:15 +00:00
brianwilkerson@google.com a7e2599cfe Fix for issue 3550
Review URL: https://chromiumcodereview.appspot.com//10857041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10856 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 20:06:29 +00:00
hausner@google.com d116929aa9 New getter syntax for top-level getters
Fix 4538
Review URL: https://chromiumcodereview.appspot.com//10837288

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10846 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 17:30:56 +00:00
ahe@google.com a56dcc505f Update test status.
Review URL: https://chromiumcodereview.appspot.com//10823363

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10818 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 13:41:06 +00:00
kasperl@google.com 80152788e8 Make sure to register +/- when we're using ++/--.
R=antonm@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10857033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10812 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 13:19:08 +00:00
antonm@google.com b71672657e Properly rename typedefs.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10823346

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10803 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 11:24:55 +00:00
antonm@google.com 80cbab2713 Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10854166

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10764 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 18:29:32 +00:00
antonm@google.com edc9999937 Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10824315

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10763 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 18:23:48 +00:00
antonm@google.com 177702795c Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10836268

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10762 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 18:20:28 +00:00
antonm@google.com 1084a7c480 Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10825366

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10759 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 17:57:42 +00:00
antonm@google.com 1d7a50594b Cleanup suppressions.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10827354

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10758 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 17:51:07 +00:00
antonm@google.com 5d6bdd3491 Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10829340

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10757 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 17:48:11 +00:00
antonm@google.com d5405063c1 Ignore unrecognized flags when running DartVM.
That matches behaviour of other chains which end up running on DartVM.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10832317

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10749 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 16:56:43 +00:00
antonm@google.com ef9baa55c4 Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10824310

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10747 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 16:14:01 +00:00
antonm@google.com bbe9bc75fe Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10855177

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10744 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 15:34:15 +00:00
antonm@google.com c959ffd95a Temporary workaround to process default clauses.
It's ugly and hacky, but all this stuff should go away
with interfaces and default clauses.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10828323

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10738 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 15:14:19 +00:00
johnniwinther@google.com 87972443e8 Status updated.
BUG=3550

Review URL: https://chromiumcodereview.appspot.com//10836263

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10737 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 15:09:02 +00:00
antonm@google.com b687720ef0 Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10855175

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10734 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 14:12:44 +00:00
antonm@google.com 30314a5cd7 Triage some more tests.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10837257

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10733 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 14:08:05 +00:00
antonm@google.com c9948213fe Cleanup suppressions.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10827351

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10732 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 14:05:08 +00:00
antonm@google.com 7c6ba9cbaa Improve a reason for failure.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10823343

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10729 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 14:00:01 +00:00
antonm@google.com 2cbe36c2a9 Improve a reason for failure.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10857015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10725 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 13:36:16 +00:00
antonm@google.com e698dfd40e Improve a reason for failure.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10855173

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10724 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 13:19:04 +00:00
antonm@google.com 4430c4def7 Improve a reason for failure.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10829336

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10723 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 13:10:17 +00:00
antonm@google.com e8ec16c681 Support new try/catch syntax.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10831328

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10721 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 12:58:57 +00:00
antonm@google.com da9404127f Update suppressions.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10831326

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10712 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:50:51 +00:00
ahe@google.com d47c99d041 Support for new catch syntax in dart2js
Committing on behalft of: Alexander Aprelev <aprelev@gmail.com>

BUG=3758

Review URL: https://chromiumcodereview.appspot.com//10857013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10704 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 09:51:18 +00:00
scheglov@google.com a872467e43 Issue 4383. Calling field without setter should generate problem
http://code.google.com/p/dart/issues/detail?id=4383

R=brianwilkerson@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10837237

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10649 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 14:25:22 +00:00
antonm@google.com 0bdef30a5b Do not force checked mode on VM.
R=whesse@google.com

Review URL: https://chromiumcodereview.appspot.com//10828286

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10635 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 11:47:35 +00:00
antonm@google.com 4886a84240 Support resolution of indexed operators.
Review URL: https://chromiumcodereview.appspot.com//10823293

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10634 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 11:41:08 +00:00
antonm@google.com a956a1ac4f Fix the case of function field via this initialization.
The problematic code is like:

class C {
  Function f;
  C(int this.f());
}

In this case Send's selector is actually a FunctionExpression.

Currently it gets unparsed weirdly: C(this.int f()), but DartVM accepts that so let
leave it in this state for now.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10855127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10631 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 11:23:17 +00:00
antonm@google.com 5e1f40fd45 Register toString dynamic invocation in the presence of string interpolation.
This reapplies lgtmed commit.

TBR=ahe@google.com

Review URL: https://chromiumcodereview.appspot.com//10826279

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10594 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 18:21:03 +00:00
antonm@google.com beda26dd25 Adjust suppressions.
R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10827303

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10592 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 18:13:32 +00:00
antonm@google.com 24203b09a2 Revert "Register toString dynamic invocation in the presence of string interpolation."
This reverts commit e3bc84ade08c6c9acedfd1ad7e1f159832e0b4a1.

R=ahe@google.com

Review URL: https://chromiumcodereview.appspot.com//10831285

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10585 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 16:36:16 +00:00
antonm@google.com 16f61cb2fe Register toString dynamic invocation in the presence of string interpolation.
Review URL: https://chromiumcodereview.appspot.com//10824276

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10584 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 16:09:35 +00:00
antonm@google.com 8156ea7e26 Better suppression.
TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10826276

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10583 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 15:50:54 +00:00