Mpp: fix production internals not visible from tests in platform modules

Caused by change in mpp resolve
Happened in platform modules that have expectedBy dependencies

#KT-24729 Fixed
This commit is contained in:
Pavel V. Talanov
2018-05-31 17:26:30 +02:00
parent 4279dc9c05
commit dae8b12872
8 changed files with 43 additions and 0 deletions
@@ -0,0 +1,4 @@
package foo
internal fun commonF() {}
internal class CommonC
@@ -0,0 +1,6 @@
package foo
fun useС() {
commonF()
CommonC()
}
@@ -0,0 +1,4 @@
package foo
internal fun jsF() {}
internal class JsC
@@ -0,0 +1,9 @@
package foo
fun use() {
commonF()
CommonC()
jsF()
JsC()
}
@@ -0,0 +1,4 @@
package foo
internal fun jvmF() {}
internal class JvmC
@@ -0,0 +1,9 @@
package foo
fun use() {
commonF()
CommonC()
jvmF()
JvmC()
}