aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-01-18 16:48:03 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-01-18 16:48:03 +0300
commit372e9c796cc77aaff788df56a13deeef64b6edd7 (patch)
treed43ce5275c5852f88ff8b466d34533504a50487a /core/src/main/kotlin/Kotlin
parentf4f7642c90fef06f04cadc57835ed431ace69802 (diff)
downloaddokka-372e9c796cc77aaff788df56a13deeef64b6edd7.tar.gz
dokka-372e9c796cc77aaff788df56a13deeef64b6edd7.tar.bz2
dokka-372e9c796cc77aaff788df56a13deeef64b6edd7.zip
KT-15497 Dokka: Using of not-FQ name in @sample should be allowed
Diffstat (limited to 'core/src/main/kotlin/Kotlin')
-rw-r--r--core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
index d1f64eeb..14d04397 100644
--- a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
+++ b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
@@ -59,7 +59,7 @@ class DescriptorDocumentationParser
tags.forEach {
when (it.knownTag) {
KDocKnownTag.SAMPLE ->
- content.append(sampleService.resolveSample(descriptor, it.getSubjectName()))
+ content.append(sampleService.resolveSample(descriptor, it.getSubjectName(), it))
KDocKnownTag.SEE ->
content.addTagToSeeAlso(descriptor, it)
else -> {