blob: 4e74b8be8e870838b9bc2ef852d22bd1bfab0d82 [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() {}