test/tools/javac/diags/examples/BadArgTypesInLambda.java

changeset 1759
05ec778794d0
parent 1677
94a202228ec2
child 2000
4a6acc42c3a1
equal deleted inserted replaced
1758:bcd927639039 1759:05ec778794d0
22 */ 22 */
23 23
24 // key: compiler.err.cant.apply.symbol 24 // key: compiler.err.cant.apply.symbol
25 // key: compiler.misc.no.conforming.assignment.exists 25 // key: compiler.misc.no.conforming.assignment.exists
26 // key: compiler.misc.bad.arg.types.in.lambda 26 // key: compiler.misc.bad.arg.types.in.lambda
27 // key: compiler.err.prob.found.req
28 // key: compiler.misc.inconvertible.types
29 // options: -Xdiags:verbose
27 30
28 class BadArgTypesInLambda { 31 class BadArgTypesInLambda {
29 interface SAM { 32 interface SAM {
30 void m(Integer i); 33 void m(Integer i);
31 } 34 }

mercurial