FIR2IR: Postpone binding overrides for lazy classes until sources processed

This commit is contained in:
Denis.Zharkov
2021-11-25 20:10:28 +03:00
committed by Space
parent 78ba49ddd8
commit 6082f0b712
15 changed files with 76 additions and 1 deletions
@@ -0,0 +1,3 @@
package test
class A : I1, I2
@@ -0,0 +1,3 @@
package test
data class B(val a: A) // generates a call to A::hashCode that is a fake override in A
@@ -0,0 +1,13 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/test/BKt.class
out/production/module/test/UsageKt.class
End of files
Compiling files:
src/b.kt
src/interfaces.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,4 @@
package test
interface I1
interface I2