Status: New
Owner: ----
New issue 2651 by [email protected]: Future.delayed (or perhaps Duration
constructor) throwing exception in d8
http://code.google.com/p/v8/issues/detail?id=2651
I have this code:
makeDelayedTeardown(int index, StringBuffer s) => () {
return new Future.delayed(new Duration(milliseconds:1), () {
s.write('l$index D ');
});
};
This works in DRT or the native VM, but if I run it in d8, I get an
exception:
Uncaught Error: Unsupported operation: Timer greater than 0.
Stack Trace:
Unsupported operation: Timer greater than 0.
at TimerImpl.$$.TimerImpl.TimerImpl$2
(/home/gram/svn2/dart/out/DebugIA32/generated_tests/dart2js-d8/pkg_unittest_test_unittest_test/out.js:2580:15)
at $.TimerImpl$
(/home/gram/svn2/dart/out/DebugIA32/generated_tests/dart2js-d8/pkg_unittest_test_unittest_test/out.js:6616:6)
at $.Future_Future$delayed
(/home/gram/svn2/dart/out/DebugIA32/generated_tests/dart2js-d8/pkg_unittest_test_unittest_test/out.js:7307:5)
at makeDelayedTeardown_anon.$$.makeDelayedTeardown_anon.call$0
(/home/gram/svn2/dart/out/DebugIA32/generated_tests/dart2js-d8/pkg_unittest_test_unittest_test/out.js:44:14)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.