mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
ebb3dea075
R=ahe@google.com, paulberry@google.com, sigmund@google.com BUG= Review-Url: https://codereview.chromium.org/2981783002 .
21 lines
492 B
Plaintext
21 lines
492 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class A extends core::Object {
|
|
static field dynamic _redirecting# = <dynamic>[self::A::fisk];
|
|
constructor •() → void
|
|
: super core::Object::•()
|
|
;
|
|
static factory fisk() → self::A
|
|
let dynamic #redirecting_factory = self::B::• in invalid-expression;
|
|
}
|
|
class B extends self::A {
|
|
default constructor •() → void
|
|
: super self::A::•()
|
|
;
|
|
}
|
|
static method main() → dynamic {
|
|
new self::B::•();
|
|
}
|