| library; |
| import self as self; |
| import "dart:core" as core; |
| |
| class Foo extends core::Object { |
| constructor named(dynamic p) → self::Foo |
| : super core::Object::•() |
| ; |
| @#C1 |
| static factory •(@#C2 @#C3 dynamic p) → self::Foo /* redirection-target: self::Foo::named */ |
| return new self::Foo::named(p); |
| } |
| static const field core::int forParameter = #C2; |
| static const field core::int forFactoryItself = #C1; |
| static const field core::int anotherForParameter = #C3; |
| static method main() → dynamic {} |
| |
| constants { |
| #C1 = 2 |
| #C2 = 1 |
| #C3 = 3 |
| } |