Commit Graph

3219 Commits

Author SHA1 Message Date
aprelev@gmail.com ec5747f6fe Ensure that ClassElement.lookupConstructor fails when looking up default constructor using Selector.callConstructor(), forcing client to use Selector.callDefaultConstructor() instead.
BUG=dartbug.com/5834
TEST=tests/compiler/dart2js/resolver_test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14127 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 11:40:29 +00:00
lrn@google.com edcd1e86e0 Add missing analyzer expectations.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14124 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 08:54:29 +00:00
lrn@google.com bba99ce083 Accidentally missing vm test expectations.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14123 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 08:51:15 +00:00
lrn@google.com b8b5632148 Convert NoMoreElementsException and EmptyQueueException to StateError.
Review URL: https://codereview.chromium.org//11269045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14122 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 08:28:33 +00:00
floitsch@google.com 9cc9214b58 Rename regexp methods to getters.
Review URL: https://codereview.chromium.org//11266050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14094 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:31:56 +00:00
floitsch@google.com 2e778387b3 Make getKeys, getValues getters (keys, values).
Review URL: https://codereview.chromium.org//11267018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14093 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:22:11 +00:00
antonm@google.com 9599cce2bc Triage some more failures.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14088 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 17:44:31 +00:00
scheglov@google.com 86b5bdca2b Issue 6202. Remove support for 'Dynamic'. Add Clean Up to rename to 'dynamic'.
http://code.google.com/p/dart/issues/detail?id=6202

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14085 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 16:28:58 +00:00
floitsch@google.com 3300f91153 Make first and last getters.
Review URL: https://codereview.chromium.org//11273041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:19:31 +00:00
floitsch@google.com e7c5e69beb Make String.charCodes a getter.
Review URL: https://codereview.chromium.org//11263040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14078 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 14:25:43 +00:00
karlklose@google.com 30e5241f1b Make unresolved access to top-level member a dynamic error.
BUG=http://code.google.com/p/dart/issues/detail?id=5714

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14076 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 13:32:25 +00:00
ricow@google.com 873c7baa06 Update status for jsshell to make the builders green.
Review URL: https://codereview.chromium.org//11194052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14073 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 12:45:22 +00:00
floitsch@google.com 09f6d09d88 Make isEmpty a getter.
Review URL: https://codereview.chromium.org//11238035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +00:00
floitsch@google.com 5a1ba7e1fc Update status files.
Review URL: https://codereview.chromium.org//11264008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14019 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 14:34:36 +00:00
floitsch@google.com 0af6548e68 Update status file.
Review URL: https://codereview.chromium.org//11273010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14018 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 14:25:40 +00:00
lrn@google.com 10ab482693 Fix expectations for dart2js/dart2dart.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14017 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 13:08:26 +00:00
floitsch@google.com 0e47b363ae Make hasNext a getter instead of a method.
Review URL: https://codereview.chromium.org//11230011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14015 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 13:05:11 +00:00
lrn@google.com d8322bd785 Fix analyzer co19 test expectations for UnsupportedError.
Review URL: https://codereview.chromium.org//11267009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14013 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:57:13 +00:00
lrn@google.com a083c1a108 Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:36:10 +00:00
lrn@google.com 2466295aef Added test exceptions to dartc.
Based on build-bot, cannot reproduce locally.

TBR=ajohnsen

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14009 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 11:26:32 +00:00
karlklose@google.com f597d23cbd Add type annotations to remove warnings and fix a bug.
Review URL: https://codereview.chromium.org//11270008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14003 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 10:32:49 +00:00
lrn@google.com bc7f07ae86 Move ObjectNotClosureException and ClosureArgumentMismatchException to patch file.
They are no longer available in the core library, and are only used by the VM.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13992 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 06:17:21 +00:00
regis@google.com 0c363ee6f9 Triage a few co19 test failures.
Review URL: https://codereview.chromium.org//11241005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13990 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 00:44:56 +00:00
regis@google.com d00ed7fbc6 Ambiguous references do not necessarily cause compilation errors (issue 5736).
Triage related co19 test failures.
Review URL: https://codereview.chromium.org//11232071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13987 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 22:29:44 +00:00
floitsch@google.com ba47029c53 Update status file with co19 issue number.
Review URL: https://codereview.chromium.org//11234060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13982 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 18:23:53 +00:00
hausner@google.com aad056b3f3 Fix resolution of super getters and setters
Issue 2243
Review URL: https://codereview.chromium.org//11230061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13981 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 18:02:25 +00:00
floitsch@google.com 27cadf2b66 isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue.
Review URL: https://codereview.chromium.org//11227042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13974 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:15:36 +00:00
ahe@google.com 6254729761 Revert "Parts must start with 'part of'" and "Attempt to fix VM build"
This reverts r13961 and r13963.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13967 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 14:24:04 +00:00
scheglov@google.com 50b5b6e1a8 Parts must start with 'part of'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13961 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 13:20:50 +00:00
ahe@google.com 738723e9a3 More math status tweaking.
Review URL: https://codereview.chromium.org//11234055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13951 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 11:58:39 +00:00
ahe@google.com cf8f4b98c6 More math expectations for co19.
Review URL: https://codereview.chromium.org//11228052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13948 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 11:41:00 +00:00
ahe@google.com af5aacd8c1 Update math expectations.
Review URL: https://codereview.chromium.org//11232061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13947 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 11:28:51 +00:00
ahe@google.com bd343dca83 co19/LibTest/math/cos_A01_t01 is no longer failing.
Review URL: https://codereview.chromium.org//11229057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13946 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 11:15:47 +00:00
ahe@google.com 0171a92932 Restore math exception but for renamed tests.
Review URL: https://codereview.chromium.org//11235058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13945 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 10:58:40 +00:00
ahe@google.com 7f0ec1cf6e Update dart2js co19 status after bad merge.
Review URL: https://codereview.chromium.org//11231071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13944 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 10:42:21 +00:00
ahe@google.com 8fafabe175 Update co19 to r397.
Review URL: https://codereview.chromium.org//11233058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13935 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 09:28:31 +00:00
lrn@google.com 66d52557f9 Some co19 tests do nothing in checked mode and therefore cannot fail.
TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13926 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 08:08:49 +00:00
lrn@google.com bf7421f118 Remove reference to ObjectNotClosureException in dart2js.
Now with correct co19 test expectations.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13924 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 07:42:38 +00:00
hausner@google.com 76ef223e2d Make super accessible in closures.
Fix issue 3197.
Review URL: https://codereview.chromium.org//11225050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13917 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 00:13:39 +00:00
srdjan@google.com a8fe58c780 Enable tests for dart2dart as well
Review URL: https://codereview.chromium.org//11225042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13913 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 23:02:16 +00:00
srdjan@google.com 90967baab9 Fix super ==: Test first for null before call inf super ==.
Review URL: https://codereview.chromium.org//11230034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13907 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 20:33:12 +00:00
hausner@google.com 2f93dfb15d Fix inheritance of certain static members in VM
Fixes bug 3778
Review URL: https://codereview.chromium.org//11225033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13901 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 18:54:58 +00:00
regis@google.com e98da59e61 Disable more failing tests.
(I had LibTest/core/Expect/throws_A01_t02 checked out and I did not know about
dart2js_extra)
Review URL: https://codereview.chromium.org//11238038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13898 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 18:10:40 +00:00
regis@google.com 0316b2b56c Disable failing test.
Review URL: https://codereview.chromium.org//11189122

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13895 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 17:12:39 +00:00
regis@google.com 3f0b894dbe Enforce new optional parameter rules.
Review URL: https://codereview.chromium.org//11186064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13891 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 16:46:26 +00:00
floitsch@google.com 9074fd0178 Make hashCode a getter and not a method.
Review URL: https://codereview.chromium.org//11191078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13866 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:41:04 +00:00
lrn@google.com ce4c190966 More missing test expectations.
TBR=floitsch

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13865 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:32:35 +00:00
lrn@google.com b3455da015 Add missing co19 status-exceptions.
TBR=floitsch

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13864 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 12:18:36 +00:00
lrn@google.com e0527ef304 Change StackOverflowException to be an Error.
Also change OutOfMemoryError to actually extend Error.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13857 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 09:51:14 +00:00
sigmund@google.com c5e87ddd9e Improvement on future: add stack trace to unhandled failures.
Re-apply change https://codereview.chromium.org/11225017/, now with updates to
co19 tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13851 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-20 01:12:59 +00:00