blob: a90d65df42167594359e7ef3b76d6dcb89feab0d [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<dynamic>()), super core::Object::•()
;
constructor expressionAndMessage() void
: assert(self::f<dynamic>(), self::f<dynamic>()), super core::Object::•()
;
}
static method f<T extends core::Object = dynamic>() self::f::T
return null;
static method main() dynamic {
assert(self::f<dynamic>());
assert(self::f<dynamic>(), self::f<dynamic>());
}