aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/kotlin-for-upsource.jarbin15123064 -> 15434151 bytes
-rw-r--r--src/Kotlin/DocumentationBuilder.kt3
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/kotlin-for-upsource.jar b/lib/kotlin-for-upsource.jar
index 70109b32..700a0bc5 100644
--- a/lib/kotlin-for-upsource.jar
+++ b/lib/kotlin-for-upsource.jar
Binary files differ
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index f45da4fe..6551ded6 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -275,7 +275,6 @@ class DocumentationBuilder
fun DeclarationDescriptor.build(): DocumentationNode = when (this) {
is ClassDescriptor -> build()
is ConstructorDescriptor -> build()
- is ScriptDescriptor -> build()
is PropertyDescriptor -> build()
is FunctionDescriptor -> build()
is TypeParameterDescriptor -> build()
@@ -284,8 +283,6 @@ class DocumentationBuilder
else -> throw IllegalStateException("Descriptor $this is not known")
}
- fun ScriptDescriptor.build(): DocumentationNode = classDescriptor.build()
-
fun ClassDescriptor.build(): DocumentationNode {
val kind = when (kind) {
ClassKind.OBJECT -> Kind.Object