DFS is a Kotlin object and requires INSTANCE to access its methods

This commit is contained in:
Pavel Punegov
2020-06-04 17:27:55 +03:00
committed by Pavel Punegov
parent 4c9449daf4
commit 2947df9503
@@ -502,7 +502,7 @@ fun runTest() {
.distinct()
.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 }
}
def libsFlags = []