antonm@google.com
beb0a3c380
Support signed constants.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10828076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10039 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 08:01:18 +00:00
antonm@google.com
275eb80dff
Suppress tests for external keyword.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10828089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10038 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 07:53:32 +00:00
iposva@google.com
e5a314d222
- Allow parsing of external methods.
...
Review URL: https://chromiumcodereview.appspot.com//10821076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10028 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 22:46:24 +00:00
antonm@google.com
ef1fa326b2
Some more triage.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10821093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10025 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 19:56:07 +00:00
antonm@google.com
3255d88374
Triage some more tests.
...
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10821092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10022 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 19:13:48 +00:00
antonm@google.com
5b3d4c6ddc
Support imports for dart: libs.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10829076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10015 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 15:37:28 +00:00
smok@google.com
ac8d991870
dart2dart
...
Several fixes for more robust renaming of type annotations and Send-s:
Correct renaming of class interfaces with type arguments, renaming
of global functions, constructor and named constructor calls, static
field accesses.
Review URL: https://chromiumcodereview.appspot.com//10824062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10003 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 05:27:58 +00:00
hausner@google.com
741a12cfd6
Support const modifier in fields, variables
...
Issue 3551
This change adds const as a valid keyword to declare fields and
variables. The mandatory initializer has to be a compile time
const expression.
Static final variables still have to be initialized with
compile time constant expressions. I will add non-const static
finals (issue 3558) in another change.
Other small changes:
- allow null in some compile time constant expressions.
- allow only numbers, booleans, strings and null in compile time
constant string interpolation.
Review URL: https://chromiumcodereview.appspot.com//10828053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9992 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-27 20:49:24 +00:00
antonm@google.com
35251bba50
Filter out core and auxilary libs.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10835018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9976 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-27 13:10:55 +00:00
hausner@google.com
a2fec11205
Make sure the "Skip*" functions know about cascades as well.
...
Also, handle index operator in cascades correctly.
Review URL: https://chromiumcodereview.appspot.com//10809089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9910 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 21:31:02 +00:00
antonm@google.com
74d17a16f9
dart2dart compiler support.
...
R=whesse@google.com
Review URL: https://chromiumcodereview.appspot.com//10809069
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9880 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 11:20:41 +00:00
rmacnak@google.com
377875ac46
Added a test marked as failing for cascades in expression functions.
...
Review URL: https://chromiumcodereview.appspot.com//10802099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9873 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 23:39:17 +00:00
regis@google.com
09d3ecf285
Compile an instance setter call when a static getter is declared, but no field
...
or static setter are declared (issue 3941).
Add test.
Review URL: https://chromiumcodereview.appspot.com//10689083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9376 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 20:40:02 +00:00
brianwilkerson@google.com
d86c0dc9f9
Fix for issues 3729 and 3523
...
Review URL: https://chromiumcodereview.appspot.com//10696056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9270 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 21:31:07 +00:00
zundel@google.com
f467653c17
Report type warning on assigning to some types of elements
...
For elements that are instance members, we want to emit a type warning
as opposed to a hard compile-time error.
Issue 3662 : http://code.google.com/p/dart/issues/detail?id=3662
Review URL: https://chromiumcodereview.appspot.com//10693047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9255 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 17:21:01 +00:00
zundel@google.com
825f8b9cb9
Flag uninitialized final variables in a class.
...
Issue 3655 : http://code.google.com/p/dart/issues/detail?id=3655
Review URL: https://chromiumcodereview.appspot.com//10699027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9233 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 22:08:12 +00:00
zundel@google.com
f0dac6bd73
Validate the target of break and continue statments from within a switch
...
Issue 3658 http://code.google.com/p/dart/issues/detail?id=3658
Review URL: https://chromiumcodereview.appspot.com//10725002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9220 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 20:52:31 +00:00
zundel@google.com
74a356e682
Fixes the scope of case labels so that duplicate case labels are properly detected
...
Issue 2441 http://code.google.com/p/dart/issues/detail?id=2441
Review URL: https://chromiumcodereview.appspot.com//10716005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9200 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 14:29:59 +00:00
zundel@google.com
f2e095cba3
No compile-time error when overriding a static field or method
...
In some cases, you need a warning though
Issue 3659 http://code.google.com/p/dart/issues/detail?id=3659
Issue 3779 http://code.google.com/p/dart/issues/detail?id=3779
Review URL: https://chromiumcodereview.appspot.com//10701011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9191 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 22:18:01 +00:00
zundel@google.com
230d02406c
When a variable name is used as a type, emit a warning, not an error
...
Issue 3474 http://code.google.com/p/dart/issues/detail?id=3474
Review URL: https://chromiumcodereview.appspot.com//10699005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9171 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 14:21:37 +00:00
ahe@google.com
2096714de0
Update status file and fix a "static inheritance" bug.
...
Review URL: https://chromiumcodereview.appspot.com//10703004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9156 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 10:44:21 +00:00
ahe@google.com
7b31e54ab7
Implement override checks.
...
First attempt committed as: https://code.google.com/p/dart/source/detail?r=9108
Review URL: https://chromiumcodereview.appspot.com//10575033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9151 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 09:07:36 +00:00
zundel@google.com
cf2fecd6aa
An implicit super() invocation wasn't being checked for the wrong # of args
...
Issue 2580 http://code.google.com/p/dart/issues/detail?id=2580
Review URL: https://chromiumcodereview.appspot.com//10668045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9136 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 21:14:13 +00:00
antonm@google.com
38bf8c295b
Revert "Implement override checks."
...
TBR=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10666052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9112 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 14:36:00 +00:00
ahe@google.com
7f2041bf11
Implement override checks.
...
Review URL: https://chromiumcodereview.appspot.com//10575033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9108 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 12:51:55 +00:00
brianwilkerson@google.com
8b400d2dd6
Fix for issue 3519
...
Review URL: https://chromiumcodereview.appspot.com//10660012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9083 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 20:02:48 +00:00
scheglov@google.com
f9b4e096e6
Issue 3748. Support for 'factory lib.Interface.namedConstructor()'
...
http://code.google.com/p/dart/issues/detail?id=2478
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10666020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9077 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 18:23:58 +00:00
regis@google.com
f42116940a
Disable failing test for dartc.
...
Review URL: https://chromiumcodereview.appspot.com//10661033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9074 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 18:03:42 +00:00
brianwilkerson@google.com
197ee2abe6
Back out support for try-on; too early
...
Review URL: https://chromiumcodereview.appspot.com//10578051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8940 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 21:12:49 +00:00
brianwilkerson@google.com
0af8d013f6
Fix for issue 3756
...
Review URL: https://chromiumcodereview.appspot.com//10536223
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8938 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 20:17:15 +00:00
zundel@google.com
cffb776ddf
More support of library privacy for analyzer
...
See http://code.google.com/p/dart/issues/detail?id=2383
Committed: https://code.google.com/p/dart/source/detail?r=8926
Review URL: https://chromiumcodereview.appspot.com//10583036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8933 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 18:43:32 +00:00
zundel@google.com
f12d219558
Revert "More support of library privacy for analyzer"
...
Review URL: https://chromiumcodereview.appspot.com//10578047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8931 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 18:16:17 +00:00
zundel@google.com
afce4b54c8
Removes obsolete type_dartc_test.dart from the language tests.
...
http://code.google.com/p/dart/issues/detail?id=2348
Review URL: https://chromiumcodereview.appspot.com//10577034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8928 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 17:53:31 +00:00
zundel@google.com
cda927b48f
More support of library privacy for analyzer
...
See http://code.google.com/p/dart/issues/detail?id=2383
Review URL: https://chromiumcodereview.appspot.com//10583036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8926 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 17:40:56 +00:00
ahe@google.com
2dc1373ac4
Update fauxverride_test to Draft Version 0.10 of the spec.
...
Review URL: https://chromiumcodereview.appspot.com//10572031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8895 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 11:13:20 +00:00
scheglov@google.com
9613a3810a
Issue 2382. Using a variable in a scope before its declared that shadows another variable
...
http://code.google.com/p/dart/issues/detail?id=2382
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10581024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8876 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 21:42:41 +00:00
scheglov@google.com
047d50d5f3
Issue 2373. 'v is Unknown' is compile-time warning, not error
...
http://code.google.com/p/dart/issues/detail?id=2373
...but 'v is Known<No, Paramaters>' is error.
Illogical, but so says the Spec.
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10536203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8872 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 21:26:38 +00:00
scheglov@google.com
4884ce068b
Issue 1655. Check initializer values of const constructors
...
http://code.google.com/p/dart/issues/detail?id=1655
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10582013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8848 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 14:23:40 +00:00
zundel@google.com
d0c8fb0d92
Migrated cascades tests from dart2js_extra into language tests
...
See issues for VM and Analyzer implementation:
http://code.google.com/p/dart/issues/detail?id=2150
http://code.google.com/p/dart/issues/detail?id=3729
Review URL: https://chromiumcodereview.appspot.com//10559064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8845 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 13:54:44 +00:00
scheglov@google.com
450cbee4d3
Issue 1197. Support for using 'static' as method name
...
http://code.google.com/p/dart/issues/detail?id=1197
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10557037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8801 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 15:58:56 +00:00
scheglov@google.com
4e72987380
Issue 963. Check default values for parameters of local functions. Support for string interpolation.
...
http://code.google.com/p/dart/issues/detail?id=963
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10553037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8799 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 15:09:35 +00:00
zundel@google.com
7664e16b6b
Triage analyzer language.status file with no public issue open
...
Review URL: https://chromiumcodereview.appspot.com//10537181
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8715 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 12:25:21 +00:00
scheglov@google.com
a01d245a87
Issue 3530. Import elements into separate import namespace
...
http://code.google.com/p/dart/issues/detail?id=3530
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10536180
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8696 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 22:55:41 +00:00
zundel@google.com
1b7f8307d2
A redirect constructor cannot reference an instance method.
...
See issue http://code.google.com/p/dart/issues/detail?id=2105
Review URL: https://chromiumcodereview.appspot.com//10541184
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8685 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 20:32:33 +00:00
zundel@google.com
3f945014e7
Adds warning when a named argument is specified, but a positional argument is missing
...
http://code.google.com/p/dart/issues/detail?id=1941
Review URL: https://chromiumcodereview.appspot.com//10544156
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8677 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 17:52:31 +00:00
scheglov@google.com
c1e44ea184
Issue 3550. Initial understanding "const".
...
http://code.google.com/p/dart/issues/detail?id=3550
To complete "const" support http://code.google.com/p/dart/issues/detail?id=3553 should be done.
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10536164
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8670 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 17:00:45 +00:00
ahe@google.com
e28a4de6a0
Update status file for language/prefix_core_test.
...
Review URL: https://chromiumcodereview.appspot.com//10548048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8662 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 15:16:26 +00:00
zundel@google.com
b6dbbbc0ec
Disallow underscores in named formal parameters.
...
See issue http://code.google.com/p/dart/issues/detail?id=2493
Review URL: https://chromiumcodereview.appspot.com//10541095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8631 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 22:30:16 +00:00
zundel@google.com
8966b1701c
re-writes some static field negative tests for use with analyzer
...
Review URL: https://chromiumcodereview.appspot.com//10541140
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8628 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 20:25:21 +00:00
zundel@google.com
ce34ba9949
Detect continue inside of case statement with no label
...
Review URL: https://chromiumcodereview.appspot.com//10536143
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8627 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 20:13:17 +00:00