From 2947df950329ff086cba9a5f921df3474010ffc8 Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Thu, 4 Jun 2020 17:27:55 +0300 Subject: [PATCH] DFS is a Kotlin object and requires INSTANCE to access its methods --- .../src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index 3dd05197131..4e662b5ec69 100644 --- a/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -502,7 +502,7 @@ fun runTest() { .distinct() .collect(Collectors.toMap({ it.name }, UnaryOperator.identity() )) - List orderedModules = DFS.topologicalOrder(modules.values()) { module -> + List orderedModules = DFS.INSTANCE.topologicalOrder(modules.values()) { module -> module.dependencies.collect { modules[it] }.findAll { it != null } } def libsFlags = []