diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-12-19 19:02:27 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-12-19 19:03:48 +0300 |
commit | dcaa940db179cf346f9a0e8f98988d17a3cb2719 (patch) | |
tree | 5dc0bf97a8d8fa4332f010520f06da03e665b33f /core/src/main/kotlin/Kotlin | |
parent | 0cd45fb746de1c94e009b15082480e869e59e295 (diff) | |
download | dokka-dcaa940db179cf346f9a0e8f98988d17a3cb2719.tar.gz dokka-dcaa940db179cf346f9a0e8f98988d17a3cb2719.tar.bz2 dokka-dcaa940db179cf346f9a0e8f98988d17a3cb2719.zip |
Fix crash in as Java mode, just show ugly warning
Diffstat (limited to 'core/src/main/kotlin/Kotlin')
-rw-r--r-- | core/src/main/kotlin/Kotlin/KotlinAsJavaDescriptorSignatureProvider.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/KotlinAsJavaDescriptorSignatureProvider.kt b/core/src/main/kotlin/Kotlin/KotlinAsJavaDescriptorSignatureProvider.kt index 266361f2..a3be658e 100644 --- a/core/src/main/kotlin/Kotlin/KotlinAsJavaDescriptorSignatureProvider.kt +++ b/core/src/main/kotlin/Kotlin/KotlinAsJavaDescriptorSignatureProvider.kt @@ -17,6 +17,6 @@ class KotlinAsJavaDescriptorSignatureProvider : DescriptorSignatureProvider { } return getSignature(javaLikePsi) ?: - throw UnsupportedOperationException("Don't know how to calculate signature for $forDesc") + "not implemented for $forDesc with psi: $sourcePsi" } }
\ No newline at end of file |