Commit Graph

3219 Commits

Author SHA1 Message Date
antonm@google.com f3350bbc57 Update expectations after co19 roll.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13115 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 13:38:11 +00:00
ahe@google.com 0f0109e2bb Update co19 to r357.
Review URL: https://codereview.chromium.org//11040023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13111 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 11:14:37 +00:00
antonm@google.com f721101814 Triage dart2dart test expectations.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13109 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 11:06:04 +00:00
ahe@google.com c93a20ab4a Handle "is" and "as" like other keywords.
Review URL: https://codereview.chromium.org//11015019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13065 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 13:27:09 +00:00
ahe@google.com 934370872e Update co19 status for dart2dart.
Review URL: https://codereview.chromium.org//11014021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13061 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 12:53:16 +00:00
ahe@google.com 0c2ac9e985 Update co19 to r355.
Review URL: https://codereview.chromium.org//11015016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13057 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 10:17:54 +00:00
brianwilkerson@google.com 6d1d55c743 Report error for non-const map literals used as statements (issue 5299)
Review URL: https://codereview.chromium.org//11000054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13041 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 22:03:21 +00:00
brianwilkerson@google.com 27c9cf7158 Report escaped newlines in string literals (issue 5296)
Review URL: https://codereview.chromium.org//10979081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13031 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 17:29:17 +00:00
antonm@google.com 079ac38c88 Synthesized a constructor if there is no resolved constructors in the class.
That prevents from synthesizing of default constructor and makes dart2dart
translate invalid program into invalid program with the same behaviour
in this corner case.

R=podivilov@chromium.org
BUG=5349

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13016 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 13:08:33 +00:00
lrn@google.com 4552367f74 Add co19 exception to analyzer too.
Review URL: https://codereview.chromium.org//10986084

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13012 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 12:26:26 +00:00
lrn@google.com 6f2cf94aa8 Rename CastException to CastError.
Review URL: https://codereview.chromium.org//10977078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13009 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 12:13:58 +00:00
antonm@google.com 56f311894c Update test expectations.
TBR=ahe@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13004 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 11:30:00 +00:00
ahe@google.com c88380cb8c Remove stale co19 entries.
Review URL: https://codereview.chromium.org//10981064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12997 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 08:52:31 +00:00
ahe@google.com 40226aa548 Revert bad patchset.
Review URL: https://codereview.chromium.org//10985072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12996 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 08:45:23 +00:00
ahe@google.com 0d7de27c03 Update co19 to r351
Review URL: https://codereview.chromium.org//10982086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12994 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 08:25:48 +00:00
iposva@google.com baf87f3a43 Update test expectations:
- Passing tests for dart2dart.
- Failing test for dart2js.
Review URL: https://codereview.chromium.org//10993068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12984 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 22:20:30 +00:00
iposva@google.com b85f604f66 - Implement first class types in the VM.
- Make AbstractType a subclass of Instance and map it and its subclasses
  to private Dart classes in dart:core implementing the Type interface.
- Avoid dispatching through statics in Object if not strictly needed.
Review URL: https://codereview.chromium.org//10979058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12981 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 21:19:00 +00:00
regis@google.com ccacc62ec6 Change many instance creation errors from compile-time errors to dynamic errors
per revised spec (issue 3801).
Add negative tests for factory redirection.
Review URL: https://codereview.chromium.org//10979053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12975 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 17:52:35 +00:00
brianwilkerson@google.com c1be0e7612 Parse and report error for const parameters (issue 5289)
Review URL: https://codereview.chromium.org//10990086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12971 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 16:34:03 +00:00
brianwilkerson@google.com 3f95f76764 Convert analyzer issue to co19 issue
Review URL: https://codereview.chromium.org//10982069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12970 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 15:30:44 +00:00
ahe@google.com 1c518f6169 Separate compile-time and runtime errors.
Review URL: https://codereview.chromium.org//10977054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12964 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 14:31:05 +00:00
ager@google.com 9bdfd4fd19 Fix status files
R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12961 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 13:50:32 +00:00
lrn@google.com ae0d6fca62 Ensure that hashCode and runtimeType work on null.
BUG=5510

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12948 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 11:38:16 +00:00
ahe@google.com 8ca223d2c4 Update co19 status
Review URL: https://codereview.chromium.org//10981050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12944 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 08:14:30 +00:00
hausner@google.com f452955cd7 Fix co19 status
Review URL: https://codereview.chromium.org//10982055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12930 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 21:04:23 +00:00
ngeoffray@google.com 6d529a543b Implement the apply functionality for dart2js and currently just put it in a test.
Review URL: https://codereview.chromium.org//10993036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12909 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 13:49:53 +00:00
antonm@google.com 3d76976157 Adjust test expectations.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12894 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 06:52:08 +00:00
hausner@google.com 609562372e Fix d2d test status
Review URL: https://codereview.chromium.org//10991023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12874 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 19:43:25 +00:00
hausner@google.com ffedcb612d Make assert a reserved word
Issue 5051.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12861 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:59:35 +00:00
antonm@google.com 2b19ab8ff4 Do not use overrides from co19-runtime.status
R=iposva@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12855 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 17:19:24 +00:00
hausner@google.com c13e591405 Implement part header
This is the final piece in the new import syntax.
Review URL: https://codereview.chromium.org//10989010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12850 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 16:45:14 +00:00
scheglov@google.com 7f8731cb50 Issue 5292. Unreferenced imported identifiers should not be an error
http://code.google.com/p/dart/issues/detail?id=5292

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12847 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 16:34:48 +00:00
lrn@google.com a0433ecb35 Remove bad failure from expectations.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12845 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 14:31:45 +00:00
lrn@google.com 700762208c Fix stoopid typo in test expectations.
TBR=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12844 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 13:59:08 +00:00
antonm@google.com e21e86e2f8 Update expectations once again.
TBR=ahe@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12843 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 13:29:23 +00:00
lrn@google.com a1faa6f135 Change IllegalArgumentException to ArgumentError.
Review URL: https://codereview.chromium.org//10989013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
antonm@google.com 7b29e4f53a Resolve op when op= syntax is used.
Review URL: https://codereview.chromium.org//10942029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12839 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 11:58:55 +00:00
antonm@google.com 0206094c96 Do not use wildcards in expectations.
R=ahe@google.com
BUG=5401

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12838 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 11:34:32 +00:00
ahe@google.com 47c240b7ea Update dart-analyzer co19 status file.
Review URL: https://codereview.chromium.org//10987014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12836 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 11:17:57 +00:00
antonm@google.com 188c5ed984 Adjust expectations.
I am starting on removing those Pass expectations.

TBR=ahe@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12834 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 11:00:14 +00:00
ahe@google.com 68e881a93f Update co19 to r346.
Review URL: https://codereview.chromium.org//10977012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12830 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 09:05:49 +00:00
ahe@google.com 90a09ec254 Update co19 status for dart2js --checked
Review URL: https://codereview.chromium.org//10958076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12789 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 17:16:55 +00:00
antonm@google.com bb79663a70 Update dart2dart expectations after co19 roll.
TBR=ahe@google.com,smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12781 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 14:02:47 +00:00
ahe@google.com fb7c33538a Mark some co19 floating point tests as failing on Windows.
Review URL: https://codereview.chromium.org//10965062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12780 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 13:49:41 +00:00
ahe@google.com 5666edf502 Update co19 status for dartc.
Review URL: https://codereview.chromium.org//10961077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12779 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 13:43:24 +00:00
ahe@google.com d6ca10a62e Update co19 to r343.
Review URL: https://codereview.chromium.org//10972007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12774 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:37:43 +00:00
antonm@google.com a46994da15 Triage dart2dart tests.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12767 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 10:27:24 +00:00
scheglov@google.com 082dd8cc31 Issue 5302. Type alias type parameters should not conflict with formal parameters
http://code.google.com/p/dart/issues/detail?id=5302

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12752 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-22 18:56:40 +00:00
scheglov@google.com 018d23bb22 Issue 5295. Reference to undefined static setter should be a warning not an error
http://code.google.com/p/dart/issues/detail?id=5295

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12751 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-22 18:54:38 +00:00
brianwilkerson@google.com 48b5aa8f60 Allow static fields without types (issue 5149)
Review URL: https://codereview.chromium.org//10957040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12720 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 16:14:27 +00:00