OLD | NEW |
1 library; | 1 library; |
2 import self as self; | 2 import self as self; |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 | 4 |
5 class A extends core::Object { | 5 class A extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 method add(dynamic x) → dynamic | 9 method add(dynamic x) → dynamic |
10 return x; | 10 return x; |
11 } | 11 } |
12 static method main() → dynamic { | 12 static method main() → dynamic { |
13 dynamic a = new self::A::•(); | 13 dynamic a = new self::A::•(); |
14 function f(dynamic x) → dynamic | 14 function f(dynamic x) → dynamic |
15 return x; | 15 return x; |
16 let final dynamic #t1 = a in let final dynamic #t2 = #t1.add(f).call("WHAT") i
n #t1; | 16 let final dynamic #t1 = a in let final dynamic #t2 = #t1.add(f).call("WHAT") i
n #t1; |
17 } | 17 } |
OLD | NEW |