| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart 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 | 4 |
| 5 oneOptionalArgument(a, [b]) { | 5 oneOptionalArgument(a, [b]) { |
| 6 Expect.equals(1, a); | 6 Expect.equals(1, a); |
| 7 Expect.equals(2, b); | 7 Expect.equals(2, b); |
| 8 } | 8 } |
| 9 | 9 |
| 10 twoOptionalArguments([a, b]) { | 10 twoOptionalArguments([a, b]) { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 B.six() : super.oneOptionalArgument(1, b: 2); | 79 B.six() : super.oneOptionalArgument(1, b: 2); |
| 80 | 80 |
| 81 B(); | 81 B(); |
| 82 one() { super.twoOptionalArguments(a: 1, b: 2); } | 82 one() { super.twoOptionalArguments(a: 1, b: 2); } |
| 83 two() { super.twoOptionalArguments(b: 2, a: 1); } | 83 two() { super.twoOptionalArguments(b: 2, a: 1); } |
| 84 three() { super.twoOptionalArguments(1, b: 2); } | 84 three() { super.twoOptionalArguments(1, b: 2); } |
| 85 four() { super.twoOptionalArguments(1, 2); } | 85 four() { super.twoOptionalArguments(1, 2); } |
| 86 five() { super.oneOptionalArgument(1, 2); } | 86 five() { super.oneOptionalArgument(1, 2); } |
| 87 six() { super.oneOptionalArgument(1, b: 2); } | 87 six() { super.oneOptionalArgument(1, b: 2); } |
| 88 } | 88 } |
| OLD | NEW |