JVM_IR no nullability annotations on SAM wrapper constructor parameters

This commit is contained in:
Dmitry Petrov
2020-12-21 15:54:42 +03:00
parent 4780c73e40
commit c9d330207b
10 changed files with 52 additions and 220 deletions
@@ -286,7 +286,8 @@ abstract class AnnotationCodegen(
when {
declaration.origin.isSynthetic ->
true
declaration.origin == JvmLoweredDeclarationOrigin.INLINE_CLASS_GENERATED_IMPL_METHOD ->
declaration.origin == JvmLoweredDeclarationOrigin.INLINE_CLASS_GENERATED_IMPL_METHOD ||
declaration.origin == IrDeclarationOrigin.GENERATED_SAM_IMPLEMENTATION ->
true
else ->
false