blob: fbb3c81d09d416c85c8f09acd8b64630818088d0 [file] [log] [blame]
library test /*isLegacy*/;
import self as self;
import "dart:async" as asy;
import "dart:core" as core;
import "dart:async";
static method test() dynamic {
() →* asy::Stream<core::num*>* f = () asy::Stream<core::num*>* async* /* emittedValueType= core::num* */ {
yield 1;
asy::Stream<core::double*>* s;
yield* s;
};
asy::Stream<core::num*>* g = f(){() →* asy::Stream<core::num*>*};
asy::Stream<core::int*>* h = f(){() →* asy::Stream<core::num*>*} as{TypeError,ForLegacy} asy::Stream<core::int*>*;
}
static method main() dynamic {}