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
+18
View File
@@ -0,0 +1,18 @@
// FILE: A.kt
package test
var property = "fail"
private set
fun test() {
property = "OK"
}
// FILE: B.kt
import test.*
fun box(): String {
test()
return property
}
@@ -0,0 +1,20 @@
// FILE: A.kt
@file:JvmName("TTest")
@file:JvmMultifileClass
package test
var property = "fail"
private set
fun test() {
property = "OK"
}
// FILE: B.kt
import test.*
fun box(): String {
test()
return property
}