lrn@google.com
29e92ed8d5
Update expectations - stream iterator test uses a timer, breaks on d8.
...
Review URL: https://codereview.chromium.org//107503006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31337 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 14:29:59 +00:00
zarah@google.com
caac86b4cc
Revert "Support type argument substitution on unnamed mixin applications."
...
This reverts commit r31319.
Review URL: https://codereview.chromium.org//100413007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31330 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 11:47:44 +00:00
zarah@google.com
4fb34cb3d4
Support type argument substitution on unnamed mixin applications.
...
R=ahe@google.com , johnniwinther@google.com
Review URL: https://codereview.chromium.org//78873007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31319 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 07:32:27 +00:00
brianwilkerson@google.com
4b4bf1cf08
Constant evaluation support. This fixes most of the open issues related to constants and makes it (theoretically) possible to fix the rest.
...
R=jwren@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//113143004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31303 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 21:26:54 +00:00
zarah@google.com
243e52fa85
Support newInstance() for class mirrors of generic classes.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//96323006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31213 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 08:44:08 +00:00
rmacnak@google.com
5e3a80268a
Partially implement LibraryMirror.topLevelMembers.
...
BUG=http://dartbug.com/14632
R=asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//111643012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31202 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 19:20:03 +00:00
rmacnak@google.com
0ac7836e8f
Implement ClassMirror.reflectedType in dart2js.
...
BUG=http://dartbug.com/12607
R=ahe@google.com , zarah@google.com
Review URL: https://codereview.chromium.org//103713006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31200 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 18:30:28 +00:00
rmacnak@google.com
e5d7ada6e9
VM: Support calling through getters in InstanceMirror.delegate.
...
Implement without accessing private members of dart:core. Fix language test expecting wrong return value.
BUG=http://dartbug.com/15138
R=fschneider@google.com
Review URL: https://codereview.chromium.org//114713002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31140 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-13 18:33:45 +00:00
rmacnak@google.com
967a6c96e9
VM: Match language error when attempting to reflectively instantiate an abstract class.
...
R=srdjan@google.com
Review URL: https://codereview.chromium.org//114593002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31115 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 22:34:10 +00:00
floitsch@google.com
0e61ba3729
Implement work-around for "Placeholder for" error in JS output.
...
BUG= http://dartbug.com/15602
R=ahe@google.com
Review URL: https://codereview.chromium.org//114353002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31109 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 20:43:53 +00:00
whesse@google.com
152cf1e3fe
Mark failing dart2js_extra isolate test on chromeOnAndroid platform. Mark two flaky tests with timeouts.
...
BUG=dartbug.com/14458
R=kustermann@google.com
Review URL: https://codereview.chromium.org//113943002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31096 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 14:24:06 +00:00
regis@google.com
fb6d24945f
Introduce class TypeRef in the VM to fully support recursive types.
...
Fix issues 15244, 15148, 14869, 14000, and 13688 (was closed, but fragile).
Note that the current solution is not final as it may not be correct in more
complex cases not yet covered by language tests.
The final solution will require a 'trail' instead of a simple mark bit to
prevent operations involving recursive types to diverge.
R=asiva@google.com
Review URL: https://codereview.chromium.org//103913005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31087 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 22:51:19 +00:00
rmacnak@google.com
0bc05d6c3c
VM: Make ObjectMirror.invoke support getters returning functions.
...
BUG=http://dartbug.com/15138
R=asiva@google.com
Review URL: https://codereview.chromium.org//112193002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31076 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 19:43:48 +00:00
whesse@google.com
270582e7b9
Update status file for chromeOnAndroid dart2js buildbot.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//93433008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31069 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 16:33:25 +00:00
lrn@google.com
55bf72611b
Mark other timer tests as flaky on Dartium where the timer can fire early.
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//112523003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31065 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 14:05:52 +00:00
lrn@google.com
e454abaf69
Mark timer_test as failing on Dartium.
...
After removing the 1 ms fiddling factor from the test, it still
fails on Dartium. It does not fail on the VM any more, since the
timer was fixed, so I'd prefer to not change the test back,
since t really does detect an error.
The problem is that the timer fires too soon.
The difference between a DateTime.now() created before
the timer was started, and one created after the time completed,
gives a time that is less than the timeout.
It may be due to either DateTime.now not being good enough, or the
timer firing too early, but it's likely the latter.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//93823003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31061 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 10:18:23 +00:00
rmacnak@google.com
068f6286ca
Implement topLevelMembers, staticMembers, instanceMembers in the VM.
...
BUG=http://dartbug.com/14632
R=asiva@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//67203002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31056 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 02:08:16 +00:00
kustermann@google.com
e898028b18
Attempt to deflake our status files
...
R=whesse@google.com
Review URL: https://codereview.chromium.org//109893004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31022 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 15:37:34 +00:00
ngeoffray@google.com
46d3293886
Update status file after bug found in dart2js.
...
Review URL: https://codereview.chromium.org//107033004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31012 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 10:27:24 +00:00
ngeoffray@google.com
440fe91607
We inline List allocations in dart2js to get the right behavior when the passed length is null. This CL fixes the constructor when invoked through mirrors.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//101823004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31010 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 09:27:07 +00:00
ahe@google.com
779fb039d8
Update status files
...
Review URL: https://codereview.chromium.org//109693002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30975 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-08 12:36:15 +00:00
ahe@google.com
36a7bd79d7
Fix issues that caused revert of r30955:
...
* Don't emit reflection info for unapplicable members (constructors).
* Correctly identify unreflectable members supporting Function.apply.
* Don't crash when computing function types of top-levels.
Committed along with https://codereview.chromium.org/98073005 .
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//108923003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30974 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-08 10:29:16 +00:00
ahe@google.com
e8301cefa3
Additional status updates that weren't included in r30965.
...
Review URL: https://codereview.chromium.org//106283003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30973 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 23:27:07 +00:00
ahe@google.com
95c86ebeda
Skip tests that are timing out.
...
Review URL: https://codereview.chromium.org//108593003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30965 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 20:45:22 +00:00
ahe@google.com
e072937b0e
Revert "Generate tear-off closures dynamically."
...
This reverts r30955.
Review URL: https://codereview.chromium.org//103863004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30961 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 19:58:10 +00:00
ahe@google.com
abf0cfa8fd
Generate tear-off closures dynamically.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//27524003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30955 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 17:41:52 +00:00
ahe@google.com
53d500dee0
Implement dynamic function checks.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//50313007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30932 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 06:47:07 +00:00
sra@google.com
d63ae0d867
Redo "Redo "Use TypedArray.set for setRange of between similarly typed lists implemented as TypedArrays""
...
What has changed here is I split the test to allow Safari to me marked as failing some tests.
Review URL: https://codereview.chromium.org//105273005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30921 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 23:22:04 +00:00
rmacnak@google.com
442d31d522
Remove deprecated mirror API from dart2js.
...
(Reapply r30879)
BUG=http://dartbug.com/14878
Review URL: https://codereview.chromium.org//106903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30913 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 20:06:45 +00:00
lrn@google.com
6af11cac37
Add Stream.timeout method.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//96473003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30895 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 13:32:31 +00:00
lrn@google.com
f0bc9ff077
Change dart2js' Random to honor the seed.
...
Simulate the same RNG as the VM when a seed is passed.
BUG= http://dartbug.com/15426
R=floitsch@google.com
Review URL: https://codereview.chromium.org//104083003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30893 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 13:06:47 +00:00
rmacnak@google.com
846e4a8de5
Revert "Remove deprecated mirror API from dart2js."
...
Review URL: https://codereview.chromium.org//99513004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30881 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 00:40:25 +00:00
rmacnak@google.com
430eb7cb59
Remove deprecated mirror API from dart2js.
...
BUG=http://dartbug.com/14878
R=ahe@google.com
Review URL: https://codereview.chromium.org//98423006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30879 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 23:56:31 +00:00
sra@google.com
41b9985c8c
Revert "Redo "Use TypedArray.set for setRange of between similarly typed lists implemented as TypedArrays""
...
Undiagnosed problem on Safari.
Review URL: https://codereview.chromium.org//105653005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30877 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 23:36:21 +00:00
sra@google.com
4eddb68e72
Redo "Use TypedArray.set for setRange of between similarly typed lists implemented as TypedArrays"
...
Use 'abstract' on classes to avoid warning.
BUG=
Review URL: https://codereview.chromium.org//104923005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30872 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 21:29:51 +00:00
sra@google.com
fcbf332182
Revert "Use TypedArray.set for setRange of between similarly typed lists implemented as TypedArrays"
...
Investigating warnings.
Review URL: https://codereview.chromium.org//105533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30870 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 21:20:54 +00:00
sra@google.com
ebc3203329
Use TypedArray.set for setRange of between similarly typed lists implemented as TypedArrays
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org//102543006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30867 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 20:50:10 +00:00
rmacnak@google.com
3975640225
Remove implementation of deprecated mirror API from the VM.
...
(Redo of r30005)
BUG=http://dartbug.com/14931
Review URL: https://codereview.chromium.org//105163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30864 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 19:01:51 +00:00
sra@google.com
caa977a195
Test for aliasing of typed data for setRange
...
BUG=
R=lrn@google.com
Review URL: https://codereview.chromium.org//80163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30817 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 17:50:36 +00:00
rmacnak@google.com
ff7c98d758
Revert "Remove implementation of deprecated mirror API from the VM."
...
BUG=
Review URL: https://codereview.chromium.org//99473008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30806 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 00:54:02 +00:00
rmacnak@google.com
fdeb88dda0
Remove implementation of deprecated mirror API from the VM.
...
(Redo of r30005)
BUG=http://dartbug.com/14931
Review URL: https://codereview.chromium.org//85753008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30805 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 00:34:09 +00:00
floitsch@google.com
4b316431fa
Implement scheduleImmediate for the VM.
...
BUG= http://dartbug.com/9001
R=iposva@google.com
Review URL: https://codereview.chromium.org//79243002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30797 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-02 16:27:07 +00:00
zarah@google.com
b1635b0bd6
Update status file.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//95603005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30785 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 14:32:35 +00:00
zarah@google.com
8aa0a2cd04
Substitute type variables as type arguments.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//95123002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30769 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-29 08:45:43 +00:00
lrn@google.com
e0314a6117
Add Future.timeout.
...
R=floitsch@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//91213002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30745 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-28 08:16:01 +00:00
lrn@google.com
b6f12eb784
Don't expect timer to work on dart2js-d8.
...
Review URL: https://codereview.chromium.org//91423002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30714 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 12:57:14 +00:00
zarah@google.com
f7dd88c13e
Support reflection on generics with dynamic types.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//88473002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30700 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 09:09:26 +00:00
ngeoffray@google.com
79cd61ea07
Mark test as failing on dart2js.
...
Review URL: https://codereview.chromium.org//90903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30695 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 07:52:02 +00:00
zarah@google.com
d997b51cf3
Change type of parameter with 'var' as modifier in initializing formals to the static type of the field.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//83453002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30617 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 11:43:58 +00:00
regis@google.com
d1e945994e
Improve type test and type equality for generics (issue 15148).
...
R=srdjan@google.com
Review URL: https://codereview.chromium.org//81363002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30546 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 21:30:51 +00:00