Skip to content

Commit 4684b6f

Browse files
authored
合并拉取请求 #13
Kotlin版本更新至 `v1.7.20`
2 parents 02bc3f3 + 579efc6 commit 4684b6f

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildSrc/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ repositories {
88
gradlePluginPortal()
99
}
1010

11-
val kotlinVersion = "1.7.10"
12-
val dokkaPluginVersion = "1.7.10"
11+
val kotlinVersion = "1.7.20"
12+
val dokkaPluginVersion = "1.7.20"
1313

1414
dependencies {
1515
api(gradleApi())

buildSrc/src/main/kotlin/IProject.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object IProject {
2-
const val VERSION = "0.0.4"
2+
const val VERSION = "0.0.5"
33
const val GROUP = "love.forte.plugin.suspend-transform"
44
const val DESCRIPTION = "Generate platform-compatible functions for Kotlin suspend functions"
55

compiler/suspend-transform-plugin/src/main/kotlin/love/forte/plugin/suspendtrans/utils/IrFunctionUtils.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ package love.forte.plugin.suspendtrans.utils
22

33
import org.jetbrains.kotlin.backend.common.descriptors.synthesizedName
44
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
5-
import org.jetbrains.kotlin.backend.common.ir.createImplicitParameterDeclarationWithWrappedDescriptor
6-
import org.jetbrains.kotlin.backend.common.ir.isOverridable
7-
import org.jetbrains.kotlin.backend.common.ir.isStatic
85
import org.jetbrains.kotlin.backend.jvm.ir.fileParent
96
import org.jetbrains.kotlin.descriptors.ClassKind
107
import org.jetbrains.kotlin.descriptors.DescriptorVisibilities
@@ -16,9 +13,7 @@ import org.jetbrains.kotlin.ir.expressions.impl.IrGetFieldImpl
1613
import org.jetbrains.kotlin.ir.types.IrSimpleType
1714
import org.jetbrains.kotlin.ir.types.getClass
1815
import org.jetbrains.kotlin.ir.types.typeOrNull
19-
import org.jetbrains.kotlin.ir.util.constructors
20-
import org.jetbrains.kotlin.ir.util.originalFunction
21-
import org.jetbrains.kotlin.ir.util.parentClassOrNull
16+
import org.jetbrains.kotlin.ir.util.*
2217
import org.jetbrains.kotlin.name.Name
2318
import org.jetbrains.kotlin.name.SpecialNames
2419
import java.util.*

0 commit comments

Comments
 (0)