blob: 01265c433bb840e349e90a3811ac301a0fe7096c [file] [log] [blame]
library test;
import self as self;
import "dart:async" as asy;
import "dart:core" as core;
static method test() dynamic {
() asy::Stream<core::num> f = () asy::Stream<core::num> async* {
yield 1;
asy::Stream<core::double> s;
yield* s;
};
asy::Stream<core::num> g = f.call();
asy::Stream<core::int> h = f.call() as{TypeError} asy::Stream<core::int>;
}
static method main() dynamic {}