833072e1fb
#KT-59371 Fixed
25 lines
384 B
Kotlin
Vendored
25 lines
384 B
Kotlin
Vendored
// FILE: J.java
|
|
public class J {
|
|
public static void f(Byte x) {}
|
|
public static void f(Integer x) {}
|
|
public static void f(Long x) {}
|
|
}
|
|
|
|
// FILE: x.kt
|
|
fun f(x: Byte) {}
|
|
fun f(x: Int) {}
|
|
fun f(x: Long) {}
|
|
|
|
fun g(x: Byte?) {}
|
|
fun g(x: Int?) {}
|
|
fun g(x: Long?) {}
|
|
|
|
fun main() {
|
|
J.f(123)
|
|
J.f(123123123123)
|
|
f(123)
|
|
f(123123123123)
|
|
g(123)
|
|
g(123123123123)
|
|
}
|