Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: tests/language_2/generic_methods_unused_parameter_test.dart

Issue 3001803002: Migrate block 114 (and some of 113). (Closed)
Patch Set: Tweak app_jit status. Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 unused parameters aren't treated as 5 // Test that generic methods with unused parameters aren't treated as
6 // non-generic methods, but can be specialized as such. 6 // non-generic methods, but can be specialized as such.
7 7
8 library generic_methods_unused_parameter_test; 8 library generic_methods_unused_parameter_test;
9 9
10 import "package:expect/expect.dart"; 10 import "package:expect/expect.dart";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 Expect.isTrue(varFunNam is FunNam); 80 Expect.isTrue(varFunNam is FunNam);
81 Expect.isTrue(varFunNam is! FunTypNam); 81 Expect.isTrue(varFunNam is! FunTypNam);
82 82
83 Expect.isTrue(funReqNam is FunReqNam); 83 Expect.isTrue(funReqNam is FunReqNam);
84 Expect.isTrue(funReqNam is! FunTypReqNam); 84 Expect.isTrue(funReqNam is! FunTypReqNam);
85 Expect.isTrue(funTypReqNam is! FunReqNam); 85 Expect.isTrue(funTypReqNam is! FunReqNam);
86 Expect.isTrue(funTypReqNam is FunTypReqNam); 86 Expect.isTrue(funTypReqNam is FunTypReqNam);
87 Expect.isTrue(varFunReqNam is FunReqNam); 87 Expect.isTrue(varFunReqNam is FunReqNam);
88 Expect.isTrue(varFunReqNam is! FunTypReqNam); 88 Expect.isTrue(varFunReqNam is! FunTypReqNam);
89 } 89 }
OLDNEW
« no previous file with comments | « tests/language_2/generic_methods_type_expression_test.dart ('k') | tests/language_2/generic_native_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698