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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user