OLD | NEW |
| (Empty) |
1 library; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 | |
5 abstract class Superclass extends core::Object { | |
6 constructor •() → void | |
7 : super core::Object::•() | |
8 ; | |
9 abstract method foo({dynamic alpha, dynamic beta}) → dynamic; | |
10 } | |
11 class Subclass extends self::Superclass { | |
12 constructor •() → void | |
13 : super self::Superclass::•() | |
14 ; | |
15 method foo({dynamic beta, dynamic alpha}) → dynamic {} | |
16 } | |
17 static method topLevelNamed(dynamic beta, dynamic alpha, {dynamic gamma, dynamic
delta}) → dynamic {} | |
18 static method main() → dynamic { | |
19 new self::Subclass::•().{self::Subclass::foo}(beta: 1, alpha: 2); | |
20 new self::Subclass::•().{self::Subclass::foo}(alpha: 1, beta: 2); | |
21 self::topLevelNamed(1, 2, gamma: 3, delta: 4); | |
22 self::topLevelNamed(1, 2, delta: 3, gamma: 4); | |
23 } | |
OLD | NEW |