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