jdk-24/langtools/test/tools/javac/lambda/VoidLambdaParameter.out
Jan Lahoda 0f0e04b6a0 8028235: Better error recovery for parsing 'void' as a type of the lambda parameter
Handle "void" as a primitive type in JavacParser.analyzeParens.

Reviewed-by: vromero
2013-12-17 10:58:26 +01:00

6 lines
317 B
Plaintext

VoidLambdaParameter.java:7:19: compiler.err.void.not.allowed.here
VoidLambdaParameter.java:7:18: compiler.err.prob.found.req: (compiler.misc.incompatible.arg.types.in.lambda)
VoidLambdaParameter.java:8:12: compiler.err.void.not.allowed.here
VoidLambdaParameter.java:10:23: compiler.err.void.not.allowed.here
4 errors