Use correct module name when calling internal members from other module
This is needed to avoid using the same module name for test root as for the main source root in the Gradle plugin, which is needed to fix KT-18955
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// FILE: A.kt
|
||||
|
||||
package a
|
||||
|
||||
class Box(val value: String) {
|
||||
internal fun result(): String = value
|
||||
}
|
||||
|
||||
// FILE: B.kt
|
||||
|
||||
fun box(): String {
|
||||
return a.Box("OK").result()
|
||||
}
|
||||
Reference in New Issue
Block a user