c1160d8cfa
Change-Id: Ied8777df13aa0411daf89f3ad3ec6bdda7bb4898 Reviewed-on: https://dart-review.googlesource.com/35862 Reviewed-by: Kevin Millikin <kmillikin@google.com> Commit-Queue: Jens Johansen <jensj@google.com>
28 lines
546 B
Plaintext
28 lines
546 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class C extends core::Object {
|
|
synthetic constructor •() → void
|
|
: super core::Object::•()
|
|
;
|
|
method m() → dynamic {
|
|
core::print("Called m");
|
|
}
|
|
method testC() → dynamic {
|
|
this.{self::C::m}();
|
|
}
|
|
}
|
|
class D extends self::C {
|
|
synthetic constructor •() → void
|
|
: super self::C::•()
|
|
;
|
|
method testD() → dynamic {
|
|
this.{self::C::m}();
|
|
}
|
|
}
|
|
static method main() → dynamic {
|
|
new self::C::•().testC();
|
|
new self::D::•().testD();
|
|
}
|