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