blob: e5a005e6053c80ec22fe76b1a831dbfb1c833075 [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);
final int Function(int) x;
}
void main() {}