blob: 7132d44e4faa13c2e23076e36febb928e13a13aa [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static method test() dynamic {
() →* core::Iterable<core::num*>* f = () core::Iterable<core::num*>* sync* {
yield 1;
yield* core::_GrowableList::_literal2<core::num*>(3, 4.0);
};
core::Iterable<core::num*>* g = f(){() →* core::Iterable<core::num*>*};
core::Iterable<core::int*>* h = f(){() →* core::Iterable<core::num*>*} as{TypeError} core::Iterable<core::int*>*;
}
static method main() dynamic {}