[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
@@ -16,7 +16,7 @@ class Mut<T>(var _value: T) {
}
}
// MODULE: main(lib)(lib)
// MODULE: main()(lib)
// FILE: main.kt
import lib.*
@@ -73,4 +73,4 @@ fun box(): String {
if (localDelegatedVarByProvider != 3) throw AssertionError()
return "OK"
}
}