OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // Dart test verifying that the parser does not confuse parameterized types with | 5 // Dart test verifying that the parser does not confuse parameterized types with |
6 // boolean expressions, since both contain '<'. | 6 // boolean expressions, since both contain '<'. |
7 | 7 |
8 class GenericSyntaxTest<B, C, D, E, F> { | 8 class GenericSyntaxTest<B, C, D, E, F> { |
9 GenericSyntaxTest() {} | 9 GenericSyntaxTest() {} |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 new GenericSyntaxTest().test(); | 37 new GenericSyntaxTest().test(); |
38 } | 38 } |
39 } | 39 } |
40 | 40 |
41 interface A<B, C, D, E, F> { | 41 interface A<B, C, D, E, F> { |
42 } | 42 } |
43 | 43 |
44 main() { | 44 main() { |
45 GenericSyntaxTest.testMain(); | 45 GenericSyntaxTest.testMain(); |
46 } | 46 } |
OLD | NEW |