aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/KotlinLanguageService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-05-27 20:10:07 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-05-27 20:10:07 +0200
commitfbe64b535556e66ff7f410e80ddda4f207172c88 (patch)
treed7d94527a2068699293bad24e2ed2c76e3abe407 /src/Kotlin/KotlinLanguageService.kt
parent5f46416a73f596fed7b9498997ad359bd057d19e (diff)
downloaddokka-fbe64b535556e66ff7f410e80ddda4f207172c88.tar.gz
dokka-fbe64b535556e66ff7f410e80ddda4f207172c88.tar.bz2
dokka-fbe64b535556e66ff7f410e80ddda4f207172c88.zip
generate 'interface' keyword instead of 'trait'
Diffstat (limited to 'src/Kotlin/KotlinLanguageService.kt')
-rw-r--r--src/Kotlin/KotlinLanguageService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt
index a8c9bc64..8809a630 100644
--- a/src/Kotlin/KotlinLanguageService.kt
+++ b/src/Kotlin/KotlinLanguageService.kt
@@ -229,7 +229,7 @@ class KotlinLanguageService : LanguageService {
renderAnnotationsForNode(node)
when (node.kind) {
DocumentationNode.Kind.Class -> keyword("class ")
- DocumentationNode.Kind.Interface -> keyword("trait ")
+ DocumentationNode.Kind.Interface -> keyword("interface ")
DocumentationNode.Kind.Enum -> keyword("enum class ")
DocumentationNode.Kind.AnnotationClass -> keyword("annotation class ")
DocumentationNode.Kind.EnumItem -> keyword("enum val ")