File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
compiler-plugin/src/main/kotlin/net/mamoe/kjbb/compiler/backend/jvm
gradle-plugin/src/main/kotlin/net/mamoe/kjbb Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11@file:Suppress(" MemberVisibilityCanBePrivate" )
22
33object Versions {
4- const val project = " 1.10.6-1530"
4+ const val project = " 1.10.6-1530.2 "
55 const val idePlugin = project
66
77 const val kotlin = " 1.5.30-M1"
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import org.jetbrains.kotlin.resolve.BindingContext
1616import org.jetbrains.kotlin.resolve.checkers.DeclarationCheckerContext
1717import org.jetbrains.kotlin.resolve.descriptorUtil.parents
1818import org.jetbrains.kotlin.resolve.source.KotlinSourceElement
19+ import org.jetbrains.kotlin.resolve.source.PsiSourceElement
1920import org.jetbrains.kotlin.resolve.source.PsiSourceFile
2021import org.jetbrains.kotlin.resolve.source.getPsi
2122
@@ -148,4 +149,4 @@ internal fun DeclarationDescriptor.jvmBlockingBridgeAnnotationPsi(): PsiElement?
148149internal fun DeclarationDescriptor.jvmBlockingBridgeAnnotation (): AnnotationDescriptor ? =
149150 annotations.findAnnotation(JVM_BLOCKING_BRIDGE_FQ_NAME )
150151
151- internal fun AnnotationDescriptor.findPsi (): PsiElement ? = source.getPsi()
152+ internal fun AnnotationDescriptor.findPsi (): PsiElement ? = (source as ? PsiSourceElement )?.psi
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
99import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
1010import org.jetbrains.kotlin.gradle.plugin.*
1111
12- internal const val KJBB_VERSION = " 1.10.6"
12+ internal const val KJBB_VERSION = " 1.10.6-1530.2 "
1313
1414internal fun BlockingBridgePluginExtension.toSubpluginOptionList (): List <SubpluginOption > {
1515 return listOf (
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
44plugins {
55 kotlin(" jvm" ) version " 1.4.21"
6- id(" net.mamoe.kotlin-jvm-blocking-bridge" ) version " 1.10.6"
6+ id(" net.mamoe.kotlin-jvm-blocking-bridge" ) version " 1.10.6-1530.2 "
77}
88
99blockingBridge {
You can’t perform that action at this time.
0 commit comments