a6fd14d4e6
^KT-17765 Fixed
13 lines
276 B
Kotlin
Vendored
13 lines
276 B
Kotlin
Vendored
// FILE: Test.java
|
|
public class Test {
|
|
interface MyRunnable extends Runnable {}
|
|
|
|
public static void foo(MyRunnable r) {}
|
|
public static void foo(Runnable r) {}
|
|
}
|
|
|
|
// FILE: 1.kt
|
|
fun main(args: Array<String>) {
|
|
Test.<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!> { }
|
|
}
|