blob: 20a0ee45b703757aeb2f09a003ab6be626d0d1de [file] [log] [blame]
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/type_variable_prefix.dart:8:3: Error: 'T.String' can't be used as a type because 'T' doesn't refer to an import prefix.
// T.String method() => "Hello, World!";
// ^^^^^^^^
//
import self as self;
import "dart:core" as core;
import "dart:core" as T;
class C<T extends core::Object? = dynamic> extends core::Object {
synthetic constructor •() self::C<self::C::T%>
: super core::Object::•()
;
method method() invalid-type
return "Hello, World!";
}
static method main() dynamic {
core::String s = new self::C::•<dynamic>().{self::C::method}(){() invalid-type};
core::print(s);
}