848cca03c0
^KT-40180 Fixed
19 lines
350 B
Kotlin
Vendored
19 lines
350 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// TARGET_BACKEND: JVM_IR
|
|
|
|
// FILE: Base.java
|
|
public class Base {
|
|
// Parameter considered as nullable by FO builder
|
|
public void foo(String s) {}
|
|
}
|
|
// FILE: Derived.kt
|
|
class Derived : Base() {
|
|
// Parameter is not null
|
|
override fun foo(s: String) {}
|
|
}
|
|
|
|
fun box(): String {
|
|
Derived().foo("")
|
|
return "OK"
|
|
}
|