1414:843d3b191773 | 1415:01c9d4161882 |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 | 23 |
24 // key: compiler.err.prob.found.req | 24 // key: compiler.err.prob.found.req |
25 // key: compiler.misc.no.suitable.functional.intf.inst | 25 // key: compiler.misc.no.suitable.functional.intf.inst |
26 // options: -XDallowLambda | |
27 | 26 |
28 class NoSuitableFunctionalIntfInst { | 27 class NoSuitableFunctionalIntfInst { |
29 | 28 |
30 interface SAM<X extends Number> { | 29 interface SAM<X extends Number> { |
31 void m(X x); | 30 void m(X x); |