Fix for KT-14012: Back-end (JVM) Internal error every first compilation after the source code change

#KT-14012 Fixed
This commit is contained in:
Michael Bogdanov
2016-10-17 12:16:13 +03:00
parent 783e5e9083
commit d48ef2efc7
14 changed files with 153 additions and 6 deletions
@@ -0,0 +1,11 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/test2/Prop2Kt.class
End of files
Compiling files:
src/prop2.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,4 @@
package test
var property = 1
private set
@@ -0,0 +1,6 @@
package test2
import test.*
fun dummy() {
if (true) 1 else property
}
@@ -0,0 +1,5 @@
package test
fun dummy() {
if (true) 2 else property
}
@@ -0,0 +1,11 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/test2/Prop2Kt.class
End of files
Compiling files:
src/prop2.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,6 @@
@file:JvmName("TTest")
@file:JvmMultifileClass
package test
var property = 1
private set
@@ -0,0 +1,6 @@
package test2
import test.*
fun dummy() {
if (true) 1 else property
}
@@ -0,0 +1,5 @@
package test
fun dummy() {
if (true) 2 else property
}