blob: 3bab67dbaa9266723d4aafb2501ae98c49cb5693 [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/type_variable_uses.dart:7:12: Error: Type variables can't be used in static members.
// static C<T> staticMethod() {
// ^
//
import self as self;
import "dart:core" as core;
class C<T extends core::Object? = dynamic> extends core::Object /*hasConstConstructor*/ {
const constructor •() self::C<self::C::T%>
: super core::Object::•()
;
static method staticMethod() self::C<invalid-type>
;
method instanceMethod() self::C<self::C::T%>
;
}
static method main() dynamic
;