| OLD | NEW |
| 1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // Dart test for testing resolving of dynamic and static calls. | 4 // Dart test for testing resolving of dynamic and static calls. |
| 5 | 5 |
| 6 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
| 7 | 7 |
| 8 class A { | 8 class A { |
| 9 A(x) { | 9 A(x) { |
| 10 Expect.equals(5, x); | 10 Expect.equals(5, x); |
| 11 } | 11 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 | 27 |
| 28 main() { | 28 main() { |
| 29 new A(5); | 29 new A(5); |
| 30 new A.named(7); | 30 new A.named(7); |
| 31 new B(3); | 31 new B(3); |
| 32 new B.named(5); | 32 new B.named(5); |
| 33 } | 33 } |
| 34 | 34 |
| OLD | NEW |