Files
kotlin-fork/compiler/testData/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt
T
Alexander Udalov 5f18439442 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
2018-08-31 13:42:57 +02:00

15 lines
197 B
Kotlin
Vendored

// 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()
}