blob: 27f0c32931aa8efac7cd24f7e5aeba0dbd3a6607 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class C extends core::Object {
constructor expressionOnly() void
: assert(self::f<core::bool>()), super core::Object::•()
;
constructor expressionAndMessage() void
: assert(self::f<core::bool>(), self::f<dynamic>()), super core::Object::•()
;
}
static method f<T extends core::Object>() self::f::T
return null;
static method main() dynamic {
assert(self::f<core::bool>());
assert(self::f<core::bool>(), self::f<dynamic>());
}