Avoid duplicate synthetic parameter marking in FunctionCodegen
This commit is contained in:
@@ -196,7 +196,7 @@ public class FunctionCodegen extends ParentCodegenAware {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
private void generateJetValueParameterAnnotations(
|
private static void generateJetValueParameterAnnotations(
|
||||||
@NotNull MethodVisitor mv,
|
@NotNull MethodVisitor mv,
|
||||||
@NotNull FunctionDescriptor functionDescriptor,
|
@NotNull FunctionDescriptor functionDescriptor,
|
||||||
@NotNull JvmMethodSignature jvmSignature
|
@NotNull JvmMethodSignature jvmSignature
|
||||||
@@ -206,10 +206,7 @@ public class FunctionCodegen extends ParentCodegenAware {
|
|||||||
|
|
||||||
for (int i = 0; i < kotlinParameterTypes.size(); i++) {
|
for (int i = 0; i < kotlinParameterTypes.size(); i++) {
|
||||||
JvmMethodParameterKind kind = kotlinParameterTypes.get(i).getKind();
|
JvmMethodParameterKind kind = kotlinParameterTypes.get(i).getKind();
|
||||||
if (kind.isSkippedInGenericSignature()) {
|
if (kind.isSkippedInGenericSignature()) continue;
|
||||||
markEnumOrInnerConstructorParameterAsSynthetic(mv, i);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
String name;
|
String name;
|
||||||
boolean nullableType;
|
boolean nullableType;
|
||||||
|
|||||||
Reference in New Issue
Block a user