blob: 98d9e0b52cae91b933d0cf676eb234277a5a35a0 [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() {}