[Test] Prohibit declaring dependency on the same module with different kinds in module structure

This commit is contained in:
Dmitriy Novozhilov
2023-01-11 10:53:41 +02:00
committed by Space Team
parent c71b80823c
commit 83cbd322fd
9 changed files with 29 additions and 15 deletions
@@ -10,10 +10,10 @@ open internal class In {
fun k() = "K"
}
// MODULE: main(lib)(lib)
// MODULE: main()(lib)
// FILE: m.kt
class Derived: Base()
internal class IDerived: In()
fun box(): String = Derived().o() + IDerived().k()
fun box(): String = Derived().o() + IDerived().k()