22 */ |
22 */ |
23 |
23 |
24 // key: compiler.misc.where.typevar |
24 // key: compiler.misc.where.typevar |
25 // key: compiler.misc.where.description.typevar.1 |
25 // key: compiler.misc.where.description.typevar.1 |
26 // key: compiler.misc.type.var |
26 // key: compiler.misc.type.var |
27 // key: compiler.err.cant.apply.symbol |
27 // key: compiler.err.cant.apply.symbol.1 |
|
28 // key: compiler.misc.no.conforming.assignment.exists |
28 // options: -XDdiags=where,disambiguateTvars |
29 // options: -XDdiags=where,disambiguateTvars |
29 // run: simple |
30 // run: simple |
30 |
31 |
31 class WhereTypeVar<T extends String> { |
32 class WhereTypeVar<T extends String> { |
32 <T extends Integer> void test(T t) { |
33 <T extends Integer> void test(T t) { |