test/tools/javac/lambda/BadNestedLambda.out@bfbedbfc522a
test/tools/javac/lambda/BadNestedLambda.out
Fri, 05 Jul 2013 11:04:22 +0100
- author
- mcimadamore
- date
- Fri, 05 Jul 2013 11:04:22 +0100
- changeset 1890
- bfbedbfc522a
- parent 0
-
959103a6100f
- permissions
- -rw-r--r--
8016702: use of ternary operator in lambda expression gives incorrect results
Summary: Constant types erroneously creep in during inference
Reviewed-by: jjg, vromero
1 BadNestedLambda.java:9:35: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.not.a.functional.intf: void))
2 BadNestedLambda.java:9:24: compiler.err.prob.found.req: (compiler.misc.incompatible.arg.types.in.lambda)