blob: 6598e5a7697bdb9d75cf163ea4b6208e43da28c7 [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() {}