Failing test for type inference

This commit is contained in:
Andrey Breslav
2014-09-09 17:51:05 +04:00
parent f5cc3e1a92
commit 50aa918791
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,17 @@
// FILE: p/J.java
package p;
public class J {
public static void c(java.util.Comparator<Integer> c) {}
}
// FILE: k.kt
import java.util.*
import p.*
fun test() {
J.c(Comparator { a, b -> b - a })
}