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

changeset 1510
7873d37f5b37
parent 1415
01c9d4161882
equal deleted inserted replaced
1509:1985e35e97b2 1510:7873d37f5b37
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 // key: compiler.err.cant.apply.symbol 24 // key: compiler.err.prob.found.req
25 // key: compiler.misc.cyclic.inference 25 // key: compiler.misc.cyclic.inference
26 26
27 class CyclicInference { 27 class CyclicInference {
28 interface SAM<X> { 28 interface SAM<X> {
29 void m(X x); 29 void m(X x);

mercurial