Commit Graph

5559 Commits

Author SHA1 Message Date
antonm@google.com 80c9b8510e Add new expectations.
TBR=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14356 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 17:56:18 +00:00
fschneider@google.com abd3671604 Relational comparisons for unboxed mints.
Review URL: https://codereview.chromium.org//11344011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14343 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 14:53:15 +00:00
ngeoffray@google.com 4590dbf82c Fix dart2dart.
Review URL: https://codereview.chromium.org//11293013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14341 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 14:12:37 +00:00
ahe@google.com 97a6a6c3f5 Tests owed.
BUG=http://dartbug.com/5829, http://dartbug.com/4444.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14338 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 13:46:25 +00:00
lrn@google.com 07172b0b0f Fix another now-passing test expectation.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14336 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 12:48:50 +00:00
lrn@google.com afbba1692c Fix more expectations, now that a test isn't wrong any more.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14335 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 12:20:26 +00:00
ngeoffray@google.com 2f0cc44727 Support closures inside initializers.
Review URL: https://codereview.chromium.org//11273121

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14333 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 12:06:10 +00:00
lrn@google.com 3c96cabd4b Fix typos in invocation mirror test.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14332 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 11:58:56 +00:00
lrn@google.com 8fde482055 Fix dart2dart test expectation.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14328 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 11:34:02 +00:00
lrn@google.com 3395a69db1 Update test expectations for dartc/dartium.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14327 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 11:30:29 +00:00
lrn@google.com a8720a6d9c Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

Committed: https://code.google.com/p/dart/source/detail?r=14254

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14324 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:32:54 +00:00
smok@google.com daec50e5e8 [dart2dart] Support cosntructor redirects.
Review URL: https://codereview.chromium.org//11345031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14297 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 18:00:01 +00:00
srdjan@google.com 238028f8b2 Fix issue 6403: do not crash if super indexed load does not exist (return 'no-such-method call' instrcution as result.
Review URL: https://codereview.chromium.org//11273117

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14295 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 17:27:58 +00:00
ngeoffray@google.com 90daeaa9a4 Fix for dartbug.com/6036: the intersection of two different types is not always conflicting.
Review URL: https://codereview.chromium.org//11341041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14278 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 13:42:33 +00:00
ngeoffray@google.com eb86eb28af Update status file.
Review URL: https://codereview.chromium.org//11340040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14261 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:10:24 +00:00
lrn@google.com 895d155ab1 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14260 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:47:42 +00:00
lrn@google.com 4a24ddc1d4 Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14254 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:04:12 +00:00
ngeoffray@google.com 7cf84101b8 Support argument definition test in constructors.
Review URL: https://codereview.chromium.org//11346002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14251 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 09:45:42 +00:00
regis@google.com 57a60316f0 Fix wrong canonicalization of signature class due to name collision (issue 6353).
Add test.
Review URL: https://codereview.chromium.org//11342028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14234 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 00:06:24 +00:00
scheglov@google.com 2e574c8c14 Issue 5887. Parts must start with 'part of'.
Second attempt.
Now only DartC changes, and status updates.
So, should not break anyone else.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 19:17:28 +00:00
smok@google.com 90b04cb483 [dart2dart] fix after https://codereview.chromium.org/11227007
Review URL: https://codereview.chromium.org//11267046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14216 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 19:07:41 +00:00
ngeoffray@google.com 59db42901d Fix for issue #6259: also look for subclasses when checking if a typed selector applies to an element.
Review URL: https://codereview.chromium.org//11315005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14208 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 16:01:09 +00:00
lrn@google.com 778b0dc5e5 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14199 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 14:07:10 +00:00
lrn@google.com 0bcd2f4f7b Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14198 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 13:34:58 +00:00
ajohnsen@google.com 7e451fc1a4 Move SplayTreeMap from coreimpl to collection.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14178 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 09:40:54 +00:00
johnniwinther@google.com 0036a13f27 Handle type variable in static member.
Review URL: https://codereview.chromium.org//11229002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14175 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 09:20:35 +00:00
karlklose@google.com 6fa99dab20 Make unmatched static call a runtime error.
The runtime error message will be constructed using NoSuchMethodError.toString(), which prints "incorrect number of arguments passed to method", which may be a bit confusing for calls where the named optional arguments do not match, but we can emit a more precise message in the resolver.

BUG=http://code.google.com/p/dart/issues/detail?id=6217

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14172 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 08:08:32 +00:00
scheglov@google.com dce51bf910 Using 'interface' and 'abstract' for methods should produce error
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14165 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-27 16:22:18 +00:00
scheglov@google.com dbec5629e8 Issue 4289. Separate optional positional and named parameters
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14164 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-27 04:02:36 +00:00
lrn@google.com 6a9cb7ed53 Added test for the behavior of InvocationMirror and noSuchMethod.
No implementation currently satisfy the test - it's created as a
goal for the implementations.

R=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14125 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 10:23:27 +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
ahe@google.com 60b8ea800a Update status for dartjs-ff-win
Review URL: https://codereview.chromium.org//11299003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14092 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:07:35 +00:00
efortuna@google.com 5df1c2a7ad Enable Opera tests.
Review URL: https://codereview.chromium.org//11271016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14091 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 18:05:43 +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
ahe@google.com 0b1e63efc3 One more test failed on Dartium because of wrapping.
Review URL: https://codereview.chromium.org//11267042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14075 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 13:26:01 +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
ahe@google.com 0ee68c7230 Fix a bug which caused exported elements to conflict with locally defined ones.
Review URL: https://codereview.chromium.org//11270034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14069 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 11:50:20 +00:00
srdjan@google.com cdd5477f91 Intrinsify Mint/Smi combined comparisons by extending a Smi to a 64 bit integer and doing a 64-bit integer compare (ia32 only).
Review URL: https://codereview.chromium.org//11262019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14051 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 00:24:17 +00:00
efortuna@google.com 735605018b Fix IE build status
Review URL: https://codereview.chromium.org//11264012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14034 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 19:32:53 +00:00
fschneider@google.com ed643e35ae Fix deoptimzation bug in hoisting smi operation out of loops.
The hoisted operations used an incorrect deoptimization target
so that the program continued with an incorrect environment
after deoptimization.

TEST=tests/language/deopt_smi_op.dart
Review URL: https://codereview.chromium.org//11270013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14033 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 18:18:11 +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
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
ajohnsen@google.com f28bc0b798 Trying to fix language.status for the vm.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14008 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 11:13:47 +00:00
ajohnsen@google.com f48427f788 Revert my change to language.status.
It appers that the test_gc was only 'fixed' on my local machine.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14007 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 10:49:09 +00:00
ajohnsen@google.com 86e5c73ce6 Move StringBufferImpl from coreimpl to core as _StringBufferImpl.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14005 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 10:35:40 +00:00
lrn@google.com 2dfe29bd44 Fix dartc test expectations.
TBR=ajohnsen

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13998 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 07:58:07 +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