| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 1 class Callable { | 5 class Callable { |
| 2 call(x) { | 6 call(x) { |
| 3 return "string"; | 7 return "string"; |
| 4 } | 8 } |
| 5 } | 9 } |
| 6 | 10 |
| 7 class CallableGetter { | 11 class CallableGetter { |
| 8 get call => new Callable(); | 12 get call => new Callable(); |
| 9 } | 13 } |
| 10 | 14 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 var nothing5 = callable(); | 39 var nothing5 = callable(); |
| 36 var nothing6 = callable.call(); | 40 var nothing6 = callable.call(); |
| 37 var nothing7 = callable.call.call(); | 41 var nothing7 = callable.call.call(); |
| 38 var nothing8 = callable.call.call.call(); | 42 var nothing8 = callable.call.call.call(); |
| 39 | 43 |
| 40 var nothing9 = callableGetter(); | 44 var nothing9 = callableGetter(); |
| 41 var nothing10 = callableGetter.call(); | 45 var nothing10 = callableGetter.call(); |
| 42 var nothing11 = callableGetter.call.call(); | 46 var nothing11 = callableGetter.call.call(); |
| 43 var nothing12 = callableGetter.call.call.call(); | 47 var nothing12 = callableGetter.call.call.call(); |
| 44 } | 48 } |
| OLD | NEW |