Commit Graph

5559 Commits

Author SHA1 Message Date
floitsch@google.com 52154a86d8 Don't transform interceptors into dynamic invocations for null.
Fixes issue 3857

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9062 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 14:01:55 +00:00
floitsch@google.com 4ff79546f7 Update status file.
Review URL: https://chromiumcodereview.appspot.com//10668014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9055 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-24 19:59:54 +00:00
floitsch@google.com effc3a0130 Update status file.
Review URL: https://chromiumcodereview.appspot.com//10668013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9054 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-24 19:52:11 +00:00
ahe@google.com d8a395734a Correctly detect unhandled exceptions on Windows.
Review URL: https://chromiumcodereview.appspot.com//10572047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9015 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-22 08:46:02 +00:00
hausner@google.com 56bc7ca48a Fix stuff
Fix for issue 3781: don't hang on to deleted breakpoints (manually tested).
Fix for issue 3390: allow function names in all string interpolation expressions.
Review URL: https://chromiumcodereview.appspot.com//10603003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8956 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 00:16:27 +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
ahe@google.com 37f4008f85 Work around bug in test.dart.
Review URL: https://chromiumcodereview.appspot.com//10559089

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8932 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 18:25:05 +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
regis@google.com 6dac4baf26 Add language test.
Review URL: https://chromiumcodereview.appspot.com//10536218

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8925 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 17:33:38 +00:00
karlklose@google.com 4dfab6c028 Treat stack overflows specially when reporting unhandled exceptions.
Review URL: https://chromiumcodereview.appspot.com//10583033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8908 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 15:00:40 +00:00
floitsch@google.com a51dc25968 Make isUtc a getter, change some method names in Date. Weekday is now 1 based.
isUtc is now a getter.
Date.hours -> Date.hour
Date.minutes -> Date.minute
Date.seconds -> Date.second
Date.milliseconds -> Date.millisecond
Date.fromEpoch -> Date.fromMillisecondsSinceEpoch
Date.value -> Date.millisecondsSinceEpoch
Date.MON == 1 (up to Date.SUN == 7).

Fixes issue 3444, 1985.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8899 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 11:43:46 +00:00
ahe@google.com 2e4ad6dfad Update status file.
Review URL: https://chromiumcodereview.appspot.com//10548070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8897 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 11:21:41 +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
ahe@google.com 17048b69fa Missing test from CL 10544173.
Review URL: https://chromiumcodereview.appspot.com//10584011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8889 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 07:29:13 +00:00
regis@google.com 7467811c91 Attempt to fix dart2js redness by disabling new test in checked mode.
Review URL: https://chromiumcodereview.appspot.com//10580035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8886 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 02:22:52 +00:00
regis@google.com 24a061c279 Fix type test elimination of function types using static type propagation in
new compiler.
Add test.
Review URL: https://chromiumcodereview.appspot.com//10579033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8884 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 01:33:04 +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
kasperl@google.com de84f6d23b Postpone the argument type optimizations until the types are stable.
R=floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8842 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 13:47:49 +00:00
ahe@google.com 73b5ce042c Fix a bug in type assertions involving String supertypes.
Review URL: https://chromiumcodereview.appspot.com//10574015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8837 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 10:53:21 +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
floitsch@google.com fa3605df87 Reapply "Don't try to resolve in the builder".
This commits a fixed version of r8777.
Original review url: https://chromiumcodereview.appspot.com//10559031

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8787 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 13:04:49 +00:00
ahe@google.com 678599aae3 Revert "Don't try to resolve in the builder."
This reverts r8777.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8779 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 11:12:00 +00:00
ahe@google.com cbb19e240d Remove support for String operator + from dart2js.
Review URL: https://chromiumcodereview.appspot.com//10553007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8778 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 11:03:25 +00:00
floitsch@google.com 106b3a8f3e Don't try to resolve in the builder.
Resolution is already done.
Fixes issue 3632.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8777 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 10:31:58 +00:00
ager@google.com 788f5af41a Reapply change to GVN all HFieldGet instructions.
- Enable GVN for all HFieldGet.
- Mark all non-final HFieldGet as depending on something.
- Mark control flow as not having side effects.
- Fix dead code elimination to not treat control flow as dead code.
- Fix live ranges for HChecks to unconditionally have the same live range as the instruction they are checking.
- Added Nicolas' fix for GVN in loops (https://chromiumcodereview.appspot.com/10565025).

R=floitsch@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8769 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 09:13: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
ahe@google.com 84fb6cd409 Remove string constants from Types class.
Review URL: https://chromiumcodereview.appspot.com//10533126

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8660 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 14:28:18 +00:00
regis@google.com 858b662c84 Fix super call invocation (issue 2028).
Review URL: https://chromiumcodereview.appspot.com//10513008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8633 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 23:06:23 +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
brianwilkerson@google.com 848682cbe8 Fix for issue 1781
Review URL: https://chromiumcodereview.appspot.com//10535148

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8616 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 16:08:43 +00:00
zundel@google.com f52f8f68cf Fix for issue 1351 - Analyzer accepts non-multiline strings with newlines
Review URL: https://chromiumcodereview.appspot.com//10540133

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8601 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 10:50:21 +00:00
zundel@google.com 8eb0dd4fcf Fix for issue 2351 - checking assignability on top level getters and setters
Committed: https://code.google.com/p/dart/source/detail?r=8568

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8588 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 23:07:00 +00:00
zundel@google.com 33fda6f748 Revert "Fix for issue 2351 - checking assignability on top level getters and setters"
This reverts commit 16ef0be9ccae7d9991c37b8cd01295e6c62c6f6a.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8574 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 20:58:31 +00:00
scheglov@google.com c88461077a Issue 3528. Additional checks for 'case expressions'
http://code.google.com/p/dart/issues/detail?id=3528

R=brianwilkerson@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8573 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 20:21:34 +00:00
zundel@google.com 5255a46d70 Fix for issue 2351 - checking assignability on top level getters and setters
Review URL: https://chromiumcodereview.appspot.com//10548002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8568 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 19:42:32 +00:00