view test/tools/javac/lambda/LambdaConv02.out @ 744:e23ed3e167e8

Futher improvements to compiler diagnostics. The compiler now emits detailed information about SAM conversion failures occurring in argument position.
author mcimadamore
date Thu, 21 Oct 2010 15:06:09 +0100
parents caadb412a4a6
children
line wrap: on
line source
LambdaConv02.java:42:18: compiler.err.invalid.target.type.for.lambda.conv.1: LambdaConv02.SAM, (compiler.misc.encl.instance.for.lambda.conv.target.must.be.in.scope: null, kindname.class, LambdaConv02.SAM, LambdaConv02)
LambdaConv02.java:43:9: compiler.err.cant.apply.symbol.1: kindname.method, test1, LambdaConv02.SAM, #void(), kindname.class, LambdaConv02, (compiler.misc.no.conforming.assignment.exists.1: #void(), LambdaConv02.SAM, (compiler.misc.encl.instance.for.lambda.conv.target.must.be.in.scope: null, kindname.class, LambdaConv02.SAM, LambdaConv02))
2 errors