FIR: Fix uninitialized lateinit FirSymbol::symbol for supertype of Java class

Earlier, isForSupertypes has been mapped to different boolean parameter
This commit is contained in:
Denis.Zharkov
2021-01-29 18:39:30 +03:00
parent 8b2279072f
commit 173a852273
4 changed files with 36 additions and 1 deletions
@@ -0,0 +1,23 @@
// FIR_IDENTICAL
// SKIP_TXT
// FILE: JavaClass.java
public class JavaClass extends ContainerType<Container<JavaClass.Nested>> {
public static class Nested extends Container<String> {}
}
// FILE: ContainerType.java
public class ContainerType<T> {}
// FILE: Container.java
public class Container<K> {}
// FILE: Usage.java
public class Usage {
public static JavaClass.Nested foo() { return null; }
}
// FILE: main.kt
fun main() {
Usage.foo().hashCode()
}