test/tools/javac/diags/examples/CantApplySymbolFragment.java

changeset 1415
01c9d4161882
parent 1352
d4b3cb1ece84
child 2525
2eb010b6cb22
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
24 // key: compiler.err.prob.found.req 24 // key: compiler.err.prob.found.req
25 // key: compiler.misc.inconvertible.types 25 // key: compiler.misc.inconvertible.types
26 // key: compiler.misc.no.conforming.assignment.exists 26 // key: compiler.misc.no.conforming.assignment.exists
27 // key: compiler.misc.cant.apply.symbol 27 // key: compiler.misc.cant.apply.symbol
28 // key: compiler.misc.invalid.mref 28 // key: compiler.misc.invalid.mref
29 // options: -XDallowMethodReferences
30 29
31 class CantApplySymbolFragment { 30 class CantApplySymbolFragment {
32 31
33 interface SAM { 32 interface SAM {
34 void m(Integer u); 33 void m(Integer u);

mercurial