| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
| 6 | 6 |
| 7 @AssumeDynamic() | 7 @AssumeDynamic() |
| 8 @NoInline() | 8 @NoInline() |
| 9 confuse(x) => x; | 9 confuse(x) => x; |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 fooIntercept21() => confuse(super.shuffle)(); | 70 fooIntercept21() => confuse(super.shuffle)(); |
| 71 fooIntercept22() => confuse(super.shuffle)(2); | 71 fooIntercept22() => confuse(super.shuffle)(2); |
| 72 fooIntercept23() => confuse(super.toList)(); | 72 fooIntercept23() => confuse(super.toList)(); |
| 73 fooIntercept24() => confuse(super.toList)(growable: 77); | 73 fooIntercept24() => confuse(super.toList)(growable: 77); |
| 74 fooIntercept25() => confuse(super.lastIndexOf)(-3); | 74 fooIntercept25() => confuse(super.lastIndexOf)(-3); |
| 75 fooIntercept26() => confuse(super.lastIndexOf)(-11, -19); | 75 fooIntercept26() => confuse(super.lastIndexOf)(-11, -19); |
| 76 fooIntercept27() => confuse(super.lastWhere)(0); | 76 fooIntercept27() => confuse(super.lastWhere)(0); |
| 77 fooIntercept28() => confuse(super.lastWhere)(3, orElse: 77); | 77 fooIntercept28() => confuse(super.lastWhere)(3, orElse: 77); |
| 78 | 78 |
| 79 bar([var optional]) => -1; /// 01: static type warning | 79 bar([var optional]) => -1; // /// 01: static type warning |
| 80 bar2({ namedOptional }) => -1; /// 01: continued | 80 bar2({ namedOptional }) => -1; // /// 01: continued |
| 81 bar3(x, [var optional]) => -1; /// 01: continued | 81 bar3(x, [var optional]) => -1; // /// 01: continued |
| 82 bar4(x, { namedOptional }) => -1; /// 01: continued | 82 bar4(x, { namedOptional }) => -1; /// 01: continued |
| 83 | 83 |
| 84 gee([var optional]) => -1; /// 01: continued | 84 gee([var optional]) => -1; // /// 01: continued |
| 85 gee2({ namedOptional }) => -1; /// 01: continued | 85 gee2({ namedOptional }) => -1; // /// 01: continued |
| 86 gee3(x, [var optional]) => -1; /// 01: continued | 86 gee3(x, [var optional]) => -1; // /// 01: continued |
| 87 gee4(x, { namedOptional }) => -1; /// 01: continued | 87 gee4(x, { namedOptional }) => -1; /// 01: continued |
| 88 | 88 |
| 89 add([var optional = 33]) => -1; | 89 add([var optional = 33]) => -1; |
| 90 trim({ namedOptional: 22 }) => -1; | 90 trim({ namedOptional: 22 }) => -1; |
| 91 sublist(x, [optional = 44]) => -1; | 91 sublist(x, [optional = 44]) => -1; |
| 92 splitMapJoin(x, { onMatch: 55, onNonMatch: 66}) => -1; | 92 splitMapJoin(x, { onMatch: 55, onNonMatch: 66}) => -1; |
| 93 | 93 |
| 94 shuffle([var optional = 121]) => -1; | 94 shuffle([var optional = 121]) => -1; |
| 95 toList({ growable: 2233 }) => -1; | 95 toList({ growable: 2233 }) => -1; |
| 96 lastIndexOf(x, [optional = 424]) => -1; | 96 lastIndexOf(x, [optional = 424]) => -1; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 Expect.equals(12463, b.fooIntercept21()); | 139 Expect.equals(12463, b.fooIntercept21()); |
| 140 Expect.equals(12344, b.fooIntercept22()); | 140 Expect.equals(12344, b.fooIntercept22()); |
| 141 Expect.equals(15364, b.fooIntercept23()); | 141 Expect.equals(15364, b.fooIntercept23()); |
| 142 Expect.equals(13208, b.fooIntercept24()); | 142 Expect.equals(13208, b.fooIntercept24()); |
| 143 Expect.equals(14742, b.fooIntercept25()); | 143 Expect.equals(14742, b.fooIntercept25()); |
| 144 Expect.equals(14291, b.fooIntercept26()); | 144 Expect.equals(14291, b.fooIntercept26()); |
| 145 Expect.equals(1768, b.fooIntercept27()); | 145 Expect.equals(1768, b.fooIntercept27()); |
| 146 Expect.equals(1771, b.fooIntercept28()); | 146 Expect.equals(1771, b.fooIntercept28()); |
| 147 } | 147 } |
| OLD | NEW |