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>
14 lines
361 B
Plaintext
14 lines
361 B
Plaintext
library test;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class C extends core::Object {
|
|
final field dynamic x;
|
|
constructor •(core::int p) → void
|
|
: self::C::x = self::f<dynamic>(p), super core::Object::•()
|
|
;
|
|
}
|
|
static method f<T extends core::Object = dynamic>(self::f::T t) → self::f::T
|
|
return t;
|
|
static method main() → dynamic {}
|