antonm@google.com
b3b2e62a80
Add temporary suppression.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10836210
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10582 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 15:44:06 +00:00
antonm@google.com
553cfe80b6
Proper support for VMOptions declarations for dart2dart.
...
Plus remove suppressions for now passing tests and retriage ones
for which we hoped the reason was in VMOptions.
Review URL: https://chromiumcodereview.appspot.com//10836188
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10563 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 12:05:58 +00:00
antonm@google.com
224a62daec
Triage another test.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10826266
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10558 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 10:01:10 +00:00
smok@google.com
6e0d009928
Collect referenced classes recursively.
...
Review URL: https://chromiumcodereview.appspot.com//10826259
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10556 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 08:55:55 +00:00
antonm@google.com
bf6a549072
Fix some operator madness (see incr_op_test for more details.)
...
I am planning to refactor SendSet unparse to reduce code duplication.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10826245
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10553 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 07:49:25 +00:00
efortuna@google.com
1d14fb856e
Un-enable Opera.
...
Review URL: https://chromiumcodereview.appspot.com//10826255
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10543 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 23:36:51 +00:00
efortuna@google.com
fd1da77750
Revert 10537.
...
Review URL: https://chromiumcodereview.appspot.com//10836198
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10540 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 22:04:51 +00:00
efortuna@google.com
1971f0afc9
Fix hausner's naming test file status.
...
TBR=hausner@google.com
Review URL: https://chromiumcodereview.appspot.com//10854102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10537 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 21:54:09 +00:00
scheglov@google.com
929f158657
Issue 3800. Calling an undefined constructor via new is a warning, not an error
...
http://code.google.com/p/dart/issues/detail?id=3800
R=brianwilkerson@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10829288
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10531 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 21:04:47 +00:00
brianwilkerson@google.com
c395b13644
Fix for issue 4429 - remove #resource directive
...
Review URL: https://chromiumcodereview.appspot.com//10827286
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10530 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 21:03:36 +00:00
scheglov@google.com
89b6b69e9f
Issue 3084. Generate warning, not error, for 'Unknown.unknown'
...
http://code.google.com/p/dart/issues/detail?id=3084
R=brianwilkerson@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10826249
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10524 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 18:33:07 +00:00
brianwilkerson@google.com
28b3a4b574
Fix for issue 3756 - support new catch syntax
...
Review URL: https://chromiumcodereview.appspot.com//10854097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10521 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 18:18:09 +00:00
efortuna@google.com
5072b18d98
Enable Opera testing (!!!).
...
Review URL: https://chromiumcodereview.appspot.com//10832239
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10513 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 16:50:34 +00:00
smok@google.com
84e723aae8
update dart2dart test status after https://chromiumcodereview.appspot.com/10826243/
...
Review URL: https://chromiumcodereview.appspot.com//10827277
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10496 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 12:30:07 +00:00
antonm@google.com
36ace0ed93
Support for generic type variables and unresolved types added.
...
Generic type variables are supported in really ugly way and
most probably should go into resolver eventually.
For types which cannot be resolved, unique name is generated for renaming.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10828250
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10490 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 11:24:50 +00:00
antonm@google.com
97e89233ca
Traverse newly discovered elements to pick more referenced types.
...
And run them through placeholder collector too to prepare for
emission.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10832242
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10486 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 09:48:13 +00:00
antonm@google.com
6ed819a4a6
Support some usages of empty classes.
...
Positions like is, as, return types and argument types
should be now processed.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10826234
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10484 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 09:02:26 +00:00
hausner@google.com
ce8c9c0307
Mark try_catch_test as failing on dartc
...
Test uses new on T catch (e) syntax.
Review URL: https://chromiumcodereview.appspot.com//10824243
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10457 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 20:28:23 +00:00
antonm@google.com
69d5071ea7
Process typedefs, referenced from the program.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10854067
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10450 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 17:02:27 +00:00
antonm@google.com
1362e63724
Rename privates directly, not via visitIdentifier.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10837186
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10446 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 15:42:29 +00:00
smok@google.com
e636d1cafd
A visitor that builds a map from node to "Usage".
...
A renamer just renames "usages" according to its type.
This allows us to split various send-guessing logic and renaming.
No scopes yet.
Review URL: https://chromiumcodereview.appspot.com//10836128
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10433 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 07:49:11 +00:00
antonm@google.com
9ff266bcbf
Amend suppressions.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10825272
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10430 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 06:33:10 +00:00
antonm@google.com
d084d02749
First take on support of library private names.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10826186
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10367 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 08:05:45 +00:00
iposva@google.com
8abf2557fa
- Update status for failing analyzer test.
...
Review URL: https://chromiumcodereview.appspot.com//10834202
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10327 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 04:58:46 +00:00
iposva@google.com
fae0217abb
- Add a test for setters without corresponding getters.
...
Review URL: https://chromiumcodereview.appspot.com//10836121
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10326 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 01:16:50 +00:00
antonm@google.com
d26512406d
Properly parse operator declarations without return type.
...
Formerly, 'operator' token was parsed as a return type, fix it.
Emit a space if operator name is 'negative' as otherwise it's
unparsed as 'operatornegative'.
R=ahe@google.com ,smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10836034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10283 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 11:36:11 +00:00
smok@google.com
51e85cf70d
Revert resolver from https://chromiumcodereview.appspot.com/10824062
...
and update tests.
Review URL: https://chromiumcodereview.appspot.com//10834146
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10209 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 07:02:31 +00:00
antonm@google.com
4013399dfb
Update test expectations.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10831136
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10195 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 19:19:21 +00:00
hausner@google.com
db4653f0e0
Add check for duplicate field initialization
...
This change adds a check that reports duplicate initialization
of instance fields. Fixes issues 921 and 1034.
There were several tests in the language suite that had duplicate
initializers for final instance fields. Corrected the tests.
dart2js also contained duplicate initializations of a couple
of final fields.
Review URL: https://chromiumcodereview.appspot.com//10825140
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10146 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 22:25:36 +00:00
scheglov@google.com
9874031222
Issue 4300. Support for 'external' keyword
...
http://code.google.com/p/dart/issues/detail?id=4300
R=brianwilkerson@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10823127
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10144 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 22:09:49 +00:00
antonm@google.com
467f3c5d6e
Some more triage.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10837036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10111 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 07:33:05 +00:00
antonm@google.com
699a1eedac
Some more triage.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10829119
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10110 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 07:12:04 +00:00
antonm@google.com
a129698199
Some more triage.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10825129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10109 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 07:02:25 +00:00
antonm@google.com
4a6768c7b2
Some more triage.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10843024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10108 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 06:50:23 +00:00
antonm@google.com
b7dde2a807
Some more triage.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10821123
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10107 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 06:44:56 +00:00
antonm@google.com
7bc0e0d9a3
Properly emit variable declarations.
...
VariableElements share definition in VarialbleListElement, so it should be
only output once.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10837025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10082 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 18:56:00 +00:00
antonm@google.com
cec30e74df
Support type annotations for list literals.
...
R=ahe@google.com ,smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10849002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10075 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 17:56:34 +00:00
antonm@google.com
d39132ea71
Fix interpolation unparse.
...
Formerly, string interpolation parts were put into a node list with null
delimiter, which was converted to single space string. That lead to extra
space when unparsing interpolation: '$a $b' -> '$a $b'.
Make empty string delimiter explicit and do not augument it with an additional
space.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10824113
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10073 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 17:43:50 +00:00
antonm@google.com
89251a2862
Triage some more tests.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10838003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10063 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 16:01:58 +00:00
antonm@google.com
d6636e3ede
Properly emit and rename generic types.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10832083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10061 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 15:47:07 +00:00
antonm@google.com
eb2fd0a0af
Properly rename new <class>.<factory> expressions.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10826083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10059 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 15:05:17 +00:00
smok@google.com
473c435bc7
dart2dart Fix default class unparse and extends class/interface unparse with type arguments.
...
Review URL: https://chromiumcodereview.appspot.com//10844002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10057 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 14:29:43 +00:00
antonm@google.com
6065dd688b
Properly unparse as operator.
...
It requires spaces like 'is' does.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10828093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10055 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 12:46:56 +00:00
antonm@google.com
839db23c5b
Triage class_extends_negative_test.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10830094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10054 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 12:40:51 +00:00
antonm@google.com
37254909d3
Better cascade support.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10843002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10053 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 12:15:11 +00:00
antonm@google.com
50ef55d111
Support cascade receivers.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10821101
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10048 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 09:39:26 +00:00
antonm@google.com
751c4e0ca4
Call operator is not supported by dart2js frontend.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10837016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10046 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 08:41:35 +00:00
antonm@google.com
f92b250772
Triage assign_static_test.
...
Apparently dart2dart test framework incorrectly treats test annotations:
necessary exceptions are thrown, but they are mistreated.
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10827097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10045 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 08:39:16 +00:00
antonm@google.com
6f8067bc75
Triage abstract_syntax_test.
...
Another instance of incorrect treatment of keywords.
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10823098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10044 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 08:33:25 +00:00
smok@google.com
1651f0d54a
Record 'implements' keyword for class declaration nodes.
...
Do not record 'implements' or 'extends' in NodeList of implemented interfaces.
Review URL: https://chromiumcodereview.appspot.com//10786028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10042 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 08:27:13 +00:00