blob: b8acf78671a790d8f76a8d5f16f07e678d1d7ab1 [file] [log] [blame]
final bool inSoundMode = <int?>[] is! List<int>;
class A<T> {}
typedef F<X extends num> = A<X>;
typedef G<Y> = A<int>;
typedef H<X, Y> = A<X>;
const f1a = A<int>.new;
const f1b = F<int>.new;
const A<int> Function() f1c = F.new;
const g1a = A<int>.new;
const g1b = G<String>.new;
const A<int> Function() g1c = G.new;
const h1a = A<int>.new;
const h1b = H<int, String>.new;
const A<int> Function() h1c = H.new;
main() {}
test<T extends num>() {}
expect(expected, actual) {}