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 staticMethod() { | 5 staticMethod() { |
2 return "sdfg"; | 6 return "sdfg"; |
3 } | 7 } |
4 | 8 |
5 class Foo { | 9 class Foo { |
6 instanceMethod() { | 10 instanceMethod() { |
7 return 123; | 11 return 123; |
8 } | 12 } |
9 } | 13 } |
10 | 14 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 69 |
66 var subBox = new SubFinalBox("dfg"); | 70 var subBox = new SubFinalBox("dfg"); |
67 var c = subBox.finalField; | 71 var c = subBox.finalField; |
68 | 72 |
69 makeDynamicCall(new DynamicReceiver1()); | 73 makeDynamicCall(new DynamicReceiver1()); |
70 makeDynamicCall(new DynamicReceiver2()); | 74 makeDynamicCall(new DynamicReceiver2()); |
71 | 75 |
72 var list = ["string"]; | 76 var list = ["string"]; |
73 var d = list[0]; | 77 var d = list[0]; |
74 } | 78 } |
OLD | NEW |