[Test] Prohibit declaring dependency on the same module with different kinds in module structure
This commit is contained in:
committed by
Space Team
parent
c71b80823c
commit
83cbd322fd
+2
-2
@@ -20,7 +20,7 @@ internal inline fun test1(): String {
|
||||
|
||||
internal fun callTest1(): String = test1()
|
||||
|
||||
// MODULE: main(lib)(lib)
|
||||
// MODULE: main()(lib)
|
||||
// FILE: lib.kt
|
||||
internal inline fun test2(): String {
|
||||
val x = C()
|
||||
@@ -38,4 +38,4 @@ fun box(): String {
|
||||
if (r2 != "2abcd") return "fail2: $r2"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user