Added hacky checks for accessing compiled functions from our module via package part instead of facade.
#KT-4590 fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun a() = "a"
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
fun b() = "b"
|
||||
@@ -0,0 +1,9 @@
|
||||
Cleaning output files:
|
||||
out/production/module/test/TestPackage-b-*.class
|
||||
out/production/module/test/TestPackage-usage-*.class
|
||||
out/production/module/test/TestPackage.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/b.kt
|
||||
src/usage.kt
|
||||
End of files
|
||||
@@ -0,0 +1,3 @@
|
||||
package other
|
||||
|
||||
fun other() = "other"
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println(a() + b() + other.other())
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println(a() + b() + other.other())
|
||||
}
|
||||
Reference in New Issue
Block a user