| 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 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
| 6 | 6 |
| 7 // Dart test verifying that the parser does not confuse parameterized types with | 7 // Dart test verifying that the parser does not confuse parameterized types with |
| 8 // boolean expressions, since both contain '<'. | 8 // boolean expressions, since both contain '<'. |
| 9 | 9 |
| 10 class GenericSyntaxTest<B, C, D, E, F> { | 10 class GenericSyntaxTest<B, C, D, E, F> { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 static testMain() { | 40 static testMain() { |
| 41 new GenericSyntaxTest().test(); | 41 new GenericSyntaxTest().test(); |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 abstract class A<B, C, D, E, F> {} | 45 abstract class A<B, C, D, E, F> {} |
| 46 | 46 |
| 47 main() { | 47 main() { |
| 48 GenericSyntaxTest.testMain(); | 48 GenericSyntaxTest.testMain(); |
| 49 } | 49 } |
| OLD | NEW |