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: java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3405,8 +3405,7 @@ open class KotlinFileExtractor(
3405
3405
expressionTypeArgs:List<IrType>, // type arguments of the extracted expression
3406
3406
classTypeArgsIncludingOuterClasses:List<IrTypeArgument>?, // type arguments of the class containing the callable reference
3407
3407
dispatchReceiverIdx:Int = -1, // dispatch receiver index: -1 in case of functions, -2 for constructors
3408
-
isBigArity:Boolean = false, // whether a big arity `invoke` is being extracted
3409
-
bigArityParameterTypes:List<IrType>? = null // parameter types used for the cast expressions in the big arity `invoke` invocation
3408
+
bigArityParameterTypes:List<IrType>? = null // parameter types used for the cast expressions in a big arity `invoke` invocation. null if not a big arity invocation.
3410
3409
) {
3411
3410
// Return statement of generated function:
3412
3411
val retId = tw.getFreshIdLabel<DbReturnstmt>()
@@ -3464,10 +3463,10 @@ open class KotlinFileExtractor(
3464
3463
extensionIdxOffset =0
3465
3464
}
3466
3465
3467
-
if (isBigArity) {
3466
+
if (bigArityParameterTypes !=null) {
3468
3467
// In case we're extracting a big arity function reference:
0 commit comments