DFS is a Kotlin object and requires INSTANCE to access its methods
This commit is contained in:
committed by
Pavel Punegov
parent
4c9449daf4
commit
2947df9503
@@ -502,7 +502,7 @@ fun runTest() {
|
|||||||
.distinct()
|
.distinct()
|
||||||
.collect(Collectors.toMap({ it.name }, UnaryOperator.identity() ))
|
.collect(Collectors.toMap({ it.name }, UnaryOperator.identity() ))
|
||||||
|
|
||||||
List<TestModule> orderedModules = DFS.topologicalOrder(modules.values()) { module ->
|
List<TestModule> orderedModules = DFS.INSTANCE.topologicalOrder(modules.values()) { module ->
|
||||||
module.dependencies.collect { modules[it] }.findAll { it != null }
|
module.dependencies.collect { modules[it] }.findAll { it != null }
|
||||||
}
|
}
|
||||||
def libsFlags = []
|
def libsFlags = []
|
||||||
|
|||||||
Reference in New Issue
Block a user