blob: 47fde5e3df6f2844a55f0fe6e55d2698557e3a5d [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/issue44476.dart:7:5: Error: Type argument 'num' doesn't conform to the bound 'int' of the type variable 'X' on 'A'.
// Try changing type arguments so that they conform to the bounds.
// foo(A<num> x) {
// ^
// pkg/front_end/testcases/general/issue44476.dart:5:9: Context: This is the type variable whose bound isn't conformed to.
// class A<X extends int> {}
// ^
//
import self as self;
import "dart:core" as core;
class A<X extends core::int> extends core::Object {
synthetic constructor •() self::A<self::A::X>
;
}
static method foo(self::A<core::num> x) dynamic
;
static method main() dynamic
;