4f586e265e
Change-Id: I85aba2501a7b8a911e122f0a802dfc21b7e87e1e Reviewed-on: https://dart-review.googlesource.com/51620 Reviewed-by: Peter von der Ahé <ahe@google.com> Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
12 lines
296 B
Plaintext
12 lines
296 B
Plaintext
library test;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method f<T extends core::Object = dynamic>() → self::f::T
|
|
return null;
|
|
static method test() → void {
|
|
assert(self::f<dynamic>());
|
|
assert(self::f<dynamic>(), self::f<dynamic>());
|
|
}
|
|
static method main() → dynamic {}
|