You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/suspend-transform-plugin/src/main/kotlin/love/forte/plugin/suspendtrans/fir/SuspendTransformFirTransformer.kt
+63-69Lines changed: 63 additions & 69 deletions
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ class SuspendTransformFirTransformer(
108
108
val dependenciesSymbolProvider = session.dependenciesSymbolProvider
109
109
110
110
suspendTransformConfiguration.transformers
111
-
.forEach { (platform, transformerList) ->
111
+
.forEach { (_, transformerList) ->
112
112
for (transformer in transformerList) {
113
113
val transformFunctionInfo = transformer.transformFunctionInfo
114
114
val packageName = transformFunctionInfo.packageName
@@ -435,19 +435,8 @@ class SuspendTransformFirTransformer(
435
435
// CoroutineScope? -> this as? CoroutineScope
436
436
// CoroutineScope -> this or throw error
437
437
// CoroutineScope (optional) -> this or ignore
438
-
// TODO Any -> this
439
-
// TODO 后面的所有参数处理
440
-
441
-
// val listIterator = valueParameterSymbols.listIterator(1)
442
-
// listIterator.forEach { otherParameter ->
443
-
//
444
-
// }
445
-
446
-
val secondParameter = valueParameterSymbols[1]
447
-
448
-
val secondParameterType = secondParameter.resolvedReturnType
0 commit comments