Skip to content

Commit 75e38eb

Browse files
committed
fix #141, #139
1 parent c5f9305 commit 75e38eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/vanstudio/sequence/util/MyUastUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import vanstudio.sequence.openapi.model.LambdaExprDescription
88
import vanstudio.sequence.openapi.model.MethodDescription
99

1010
fun createMethod(node: ULambdaExpression, offset: Int): MethodDescription {
11-
val paramPair: ParamPair = extractParameters(node.parameters)
11+
val paramPair: ParamPair = extractParameters(node.valueParameters)
1212
val returnType = node.getExpressionType()?.canonicalText
1313

1414
val uMethod = node.getParentOfType(UMethod::class.java, true)

0 commit comments

Comments
 (0)