OLD | NEW |
1 class Callable { | 1 class Callable { |
2 call(x) { | 2 call(x) { |
3 return "string"; | 3 return "string"; |
4 } | 4 } |
5 } | 5 } |
6 | 6 |
7 class CallableGetter { | 7 class CallableGetter { |
8 get call => new Callable(); | 8 get call => new Callable(); |
9 } | 9 } |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 var nothing5 = callable(); | 35 var nothing5 = callable(); |
36 var nothing6 = callable.call(); | 36 var nothing6 = callable.call(); |
37 var nothing7 = callable.call.call(); | 37 var nothing7 = callable.call.call(); |
38 var nothing8 = callable.call.call.call(); | 38 var nothing8 = callable.call.call.call(); |
39 | 39 |
40 var nothing9 = callableGetter(); | 40 var nothing9 = callableGetter(); |
41 var nothing10 = callableGetter.call(); | 41 var nothing10 = callableGetter.call(); |
42 var nothing11 = callableGetter.call.call(); | 42 var nothing11 = callableGetter.call.call(); |
43 var nothing12 = callableGetter.call.call.call(); | 43 var nothing12 = callableGetter.call.call.call(); |
44 } | 44 } |
OLD | NEW |