JVM IR: Generate synthetic final implementation methods in SAM wrappers
This commit is contained in:
committed by
Alexander Udalov
parent
a475fa2a21
commit
68e2d0d245
+2
-1
@@ -209,7 +209,8 @@ abstract class SingleAbstractMethodLowering(val context: CommonBackendContext) :
|
||||
name = superMethod.name
|
||||
returnType = superMethod.returnType
|
||||
visibility = superMethod.visibility
|
||||
origin = subclass.origin
|
||||
modality = Modality.FINAL
|
||||
origin = IrDeclarationOrigin.SYNTHETIC_GENERATED_SAM_IMPLEMENTATION
|
||||
isSuspend = superMethod.isSuspend
|
||||
setSourceRange(createFor)
|
||||
}.apply {
|
||||
|
||||
Reference in New Issue
Block a user