[FIR] Fix access to fields from super class

^KT-49654 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-11-15 17:28:17 +03:00
committed by TeamCityServer
parent e7c9d76163
commit 2aa027639c
7 changed files with 63 additions and 2 deletions
@@ -0,0 +1,24 @@
// ISSUE: KT-49654
// FULL_JDK
// FILE: Base.java
public interface Base {
String getParent();
}
// FILE: Derived.java
public class Derived implements Base {
protected String parent = "";
public String getParent() {
return parent;
}
}
// FILE: main.kt
interface MyBase : Base
abstract class Implementation : Derived(), MyBase {
val parentNode: String? get() = super.parent
}