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

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

Issue 3007803002: Migrate block 162 to Dart 2.0.
Patch Set: 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 we report a compile-time error when a type parameter conflicts 5 // Test that we report a compile-time error when a type parameter conflicts
6 // with an instance or static member with the same name. 6 // with an instance or static member with the same name.
7 7
8 import "package:expect/expect.dart"; 8 import "package:expect/expect.dart";
9 9
10 class G1<T> { 10 class G1<T> {
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 33
34 main() { 34 main() {
35 new G1<int>(); 35 new G1<int>();
36 new G2<int>(); 36 new G2<int>();
37 new G3<int>(); 37 new G3<int>();
38 new G4<int>(); 38 new G4<int>();
39 new G5<int>(); 39 new G5<int>();
40 new G6<int>(); 40 new G6<int>();
41 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698