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 •() → self::A | 6 constructor •() → self::A |
7 : super core::Object::•(); | 7 : super core::Object::•(); |
8 method add(dynamic x) → dynamic | 8 method add(dynamic x) → dynamic |
9 return x; | 9 return x; |
10 } | 10 } |
11 static method main() → dynamic { | 11 static method main() → dynamic { |
12 dynamic a = new self::A::•(); | 12 dynamic a = new self::A::•(); |
13 function f(dynamic x) → dynamic | 13 function f(dynamic x) → dynamic |
14 return x; | 14 return x; |
15 let final dynamic #t1 = a in let final dynamic #t2 = #t1.add(f).call("WHAT") i
n #t1; | 15 let final dynamic #t1 = a in let final dynamic #t2 = #t1.add(f).call("WHAT") i
n #t1; |
16 } | 16 } |
OLD | NEW |