diff options
-rw-r--r-- | test/src/TestAPI.kt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt index af1b8e52..a88835cd 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -37,10 +37,6 @@ public fun verifyModel(vararg files: String, verifier: (DocumentationModule) -> val documentation = environment.withContext { environment, session -> val fragments = environment.getSourceFiles().map { session.getPackageFragment(it.getPackageFqName()) }.filterNotNull().distinct() - val descriptors = hashMapOf<String, List<DeclarationDescriptor>>() - for ((name, parts) in fragments.groupBy { it.fqName }) { - descriptors.put(name.asString(), parts.flatMap { it.getMemberScope().getAllDescriptors() }) - } val documentationModule = DocumentationModule("test") val documentationBuilder = DocumentationBuilder(session, options) |