blob: 8056cc0b3563c01350deb15db5764ae437836d9d [file] [log] [blame]
library;
//
// 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}();
core::print(s);
}