Report warning for several modules with same name on module path

This commit is contained in:
Alexander Udalov
2017-06-30 21:00:52 +03:00
parent e8a8bdc58e
commit 51fb02b2d5
10 changed files with 52 additions and 9 deletions
@@ -213,4 +213,10 @@ class Java9ModulesIntegrationTest : AbstractKotlinCompilerIntegrationTest() {
val b = module("autoB")
module("main", listOf(a, b))
}
fun testSeveralModulesWithTheSameName() {
val d1 = module("dependency1")
val d2 = module("dependency2")
module("main", listOf(d1, d2))
}
}