f30e564c90
It's only for computing the field owner. #KT-42131 Fixed
20 lines
284 B
Kotlin
Vendored
20 lines
284 B
Kotlin
Vendored
// FILE: test/Foo.java
|
|
package test;
|
|
|
|
public class Foo {
|
|
protected final String value;
|
|
|
|
protected Foo(String value) {
|
|
this.value = value;
|
|
}
|
|
}
|
|
|
|
// FILE: test.kt
|
|
import test.Foo
|
|
|
|
class Bar : Foo("OK") {
|
|
fun baz() = super.value
|
|
}
|
|
|
|
fun box(): String = Bar().baz()
|