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/Null alpha, dynamic/Null beta}) → dynamic/Null {} |
| 10 method bar({dynamic/Null alpha, dynamic/Null beta}) → dynamic/Null {} |
| 11 method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic/Nothing callb
ack) → dynamic/Null {} |
| 12 } |
| 13 class Subclass extends self::Superclass { |
| 14 constructor •() → void |
| 15 : super self::Superclass::•() |
| 16 ; |
| 17 method foo({dynamic/core::int* {null,int} alpha, dynamic/core::int* {null,int}
beta}) → dynamic/Null {} |
| 18 method bar({dynamic/Null alpha, dynamic/Null beta}) → dynamic/Null {} |
| 19 method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic/Nothing callb
ack) → dynamic/Null {} |
| 20 } |
| 21 static method topLevelNamed(dynamic/core::int* {int} beta, dynamic/core::int* {i
nt} alpha, {dynamic/core::int* {null,int} delta, dynamic/core::int* {null,int} g
amma}) → dynamic/Null {} |
| 22 static method topLevelOptional(dynamic/Nothing beta, dynamic/Nothing alpha, [dyn
amic/Null gamma, dynamic/Null delta]) → dynamic/Null {} |
| 23 static method main() → dynamic/Null { |
| 24 new self::Subclass::•().foo(beta: 1, alpha: 2); |
| 25 new 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 |