24 // key: compiler.err.types.incompatible.diff.ret |
24 // key: compiler.err.types.incompatible.diff.ret |
25 // key: compiler.err.prob.found.req |
25 // key: compiler.err.prob.found.req |
26 // key: compiler.misc.incompatible.descs.in.functional.intf |
26 // key: compiler.misc.incompatible.descs.in.functional.intf |
27 // key: compiler.misc.descriptor |
27 // key: compiler.misc.descriptor |
28 // key: compiler.misc.descriptor.throws |
28 // key: compiler.misc.descriptor.throws |
29 // options: -XDallowLambda |
|
30 |
29 |
31 class IncompatibleDescsInFunctionalIntf { |
30 class IncompatibleDescsInFunctionalIntf { |
32 interface A { |
31 interface A { |
33 Integer m(String i) throws Exception; |
32 Integer m(String i) throws Exception; |
34 } |
33 } |