| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 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 | 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 // Test that generic methods with named parameters are of correct type. | 5 // Test that generic methods with named parameters are of correct type. |
| 6 | 6 |
| 7 library generic_methods_named_parameters_test; | 7 library generic_methods_named_parameters_test; |
| 8 | 8 |
| 9 import "package:expect/expect.dart"; | 9 import "package:expect/expect.dart"; |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 Expect.isTrue(funObjTyp is! FunObjObj); | 32 Expect.isTrue(funObjTyp is! FunObjObj); |
| 33 Expect.isTrue(funObjTyp is! FunTypObj); | 33 Expect.isTrue(funObjTyp is! FunTypObj); |
| 34 Expect.isTrue(funObjTyp is FunObjTyp); | 34 Expect.isTrue(funObjTyp is FunObjTyp); |
| 35 Expect.isTrue(funObjTyp is FunTypTyp); | 35 Expect.isTrue(funObjTyp is FunTypTyp); |
| 36 | 36 |
| 37 Expect.isTrue(funTypTyp is! FunObjObj); | 37 Expect.isTrue(funTypTyp is! FunObjObj); |
| 38 Expect.isTrue(funTypTyp is! FunTypObj); | 38 Expect.isTrue(funTypTyp is! FunTypObj); |
| 39 Expect.isTrue(funTypTyp is! FunObjTyp); | 39 Expect.isTrue(funTypTyp is! FunObjTyp); |
| 40 Expect.isTrue(funTypTyp is FunTypTyp); | 40 Expect.isTrue(funTypTyp is FunTypTyp); |
| 41 } | 41 } |
| OLD | NEW |