OLD | NEW |
(Empty) | |
| 1 library; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class Superclass extends core::Object { |
| 6 constructor •() → void |
| 7 : super core::Object::•() |
| 8 ; |
| 9 method foo({dynamic alpha, dynamic beta}) → dynamic {} |
| 10 method bar({dynamic alpha, dynamic beta}) → dynamic {} |
| 11 method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic callback) → d
ynamic {} |
| 12 } |
| 13 class Subclass extends self::Superclass { |
| 14 constructor •() → void |
| 15 : super self::Superclass::•() |
| 16 ; |
| 17 method foo({dynamic alpha, dynamic beta}) → dynamic {} |
| 18 method bar({dynamic alpha, dynamic beta}) → dynamic {} |
| 19 method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic callback) → d
ynamic {} |
| 20 } |
| 21 static method topLevelNamed(dynamic beta, dynamic alpha, {dynamic delta, dynamic
gamma}) → dynamic {} |
| 22 static method topLevelOptional(dynamic beta, dynamic alpha, [dynamic gamma, dyna
mic delta]) → dynamic {} |
| 23 static method main() → dynamic { |
| 24 new self::Subclass::•().{self::Subclass::foo}(beta: 1, alpha: 2); |
| 25 new self::Subclass::•().{self::Subclass::foo}(alpha: 1, beta: 2); |
| 26 self::topLevelNamed(1, 2, gamma: 3, delta: 4); |
| 27 self::topLevelNamed(1, 2, delta: 3, gamma: 4); |
| 28 } |
OLD | NEW |