blob: e7d4d4c54a4f2051c2da7c553ddf0db30321dbd5 [file] [log] [blame]
X id<X>(X x) => x;
X other<X>(X x) => throw '$x';
class A {
const A(bool b) : x = (b ? id : other)<int>;
final int Function(int) x;
}
void main() {}