Commit Graph

1157 Commits

Author SHA1 Message Date
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
ahe@google.com d5e43d38db Update test to work with lazy compilation
Review URL: https://chromiumcodereview.appspot.com//10840004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11061 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 15:37:42 +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 9b3e109809 Test started to pass.
R=ahe@google.com,kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11049 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 14:18:18 +00:00
kasperl@google.com 34ec097692 Get rid of the name in HInvokeDynamic (just use the selector instead).
This fixes issue 2620.

R=ngeoffray@google.com,karlklose@google.com
BUG=http://dartbug.com/2620

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11030 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 10:56:02 +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 d0fb08d838 Update status file.
Review URL: https://chromiumcodereview.appspot.com//10834407

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10965 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 14:10:09 +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 19851497ff Support new getter syntax.
Review URL: https://chromiumcodereview.appspot.com//10831332

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10956 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 13:26:38 +00:00
ahe@google.com bda1a6981d Produce error when duplicate field initializers are found
Committing on behalf of Alexander Aprelev <aprelev@gmail.com>.

BUG=http://dartbug.com/1035

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10947 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 12:40:03 +00:00
ahe@google.com 9902fcfbbb Update status file to make build bot happy.
Review URL: https://chromiumcodereview.appspot.com//10829418

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10945 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 12:13:10 +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
ahe@google.com 10f43e1304 Update language tests to new getter syntax.
Review URL: https://chromiumcodereview.appspot.com//10829416

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10943 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 11:31:45 +00:00
ahe@google.com b3118b0d36 Update test to work with on-demand compilation.
Review URL: https://chromiumcodereview.appspot.com//10824370

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10939 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 09:04:22 +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
srdjan@google.com 031eab4ab9 Fix null-equality comparison for unoptimized branch code. Issue 2506.
Review URL: https://chromiumcodereview.appspot.com//10860018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10924 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:18:26 +00:00
hausner@google.com 9dc7ab8e1e Implement import scope
Implement the new scope rule for imports.

- Imported identifiers are in a scope that is shadowed
  by the importing library's top-level scope.
- Conflicting names imported from different libraries
  are not an error unless the name is referenced.
- Conflicting type names are only an error in checked mode.

In a follow-on change, I'll remove the "imported_into" pointers in libraries. They are no longer needed.


Issue 2945
Review URL: https://chromiumcodereview.appspot.com//10823396

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10923 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:06:16 +00:00
srdjan@google.com 7a9689c981 Implement new equality spec.
"If either o1 or o2 is null, then ee evaluates to identical(o1,o2), where identical() is the predefined dart function that returns true iff its two arguments are the same object. "
Review URL: https://chromiumcodereview.appspot.com//10855208

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10907 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 17:30:06 +00:00
johnniwinther@google.com d1cdeaf426 Change line endings from Windows to Unix
Review URL: https://chromiumcodereview.appspot.com//10827394

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10881 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 11:21:55 +00:00
johnniwinther@google.com ac5a4808d8 Skeleton typedef type implementation
Review URL: https://chromiumcodereview.appspot.com//10832136

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10880 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 11:15:44 +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
regis@google.com d9b0276a4c Require two type arguments for map literals (issue 4522).
Spec has been changed back.
VM temporarily accepts a single type argument and emits a warning.
Update tests, dart2js source, dartdoc, etc...
Disable failing co19 tests (issue 175 filed).
Review URL: https://chromiumcodereview.appspot.com//10854191

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10861 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 20:44:32 +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
floitsch@google.com 03b7471b30 Fix access to fields that didn't exist in the class.
Say we have
class A{}
class B extends A { var x; }

and somewhere:
new A().x;

Then we would see if there was only one field 'x' in the whole type-hierarchy
(including B), but we failed to verify that the field was accessible from A.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10841 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 17:05:19 +00:00
floitsch@google.com ecae19772f Fix field-accesses for private fields that were "shadowed" by other private fields.
Review URL: https://chromiumcodereview.appspot.com//10827359

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10827 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:16:17 +00:00
ahe@google.com 5d57d6f130 Update dart2js status for changed getter tests.
Review URL: https://chromiumcodereview.appspot.com//10836287

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10819 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 13:54:11 +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
ahe@google.com 998711f733 Update tests to new syntax.
Take one. More will follow.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10813 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 13:23:26 +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
ahe@google.com fe6c6324d3 Implement super.foo = expression.
Review URL: https://chromiumcodereview.appspot.com//10854163

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10798 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 07:55:51 +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