x?.y is now nullable even if y is Unit + three tests + codegen test fix + source code fix #KT-7936 Fixed #KT-8347 Fixed
This commit is contained in:
@@ -59,7 +59,7 @@ class MigrateAnnotationMethodCallInWholeFile : IntentionAction {
|
||||
forEach {
|
||||
(it.getPsiElement() as? JetCallExpression)?.let { MigrateAnnotationMethodCallFix.replaceWithSimpleCall(it) }
|
||||
}
|
||||
}
|
||||
} ?: Unit
|
||||
|
||||
companion object : JetSingleIntentionActionFactory() {
|
||||
override fun createAction(diagnostic: Diagnostic) = MigrateAnnotationMethodCallInWholeFile()
|
||||
|
||||
Reference in New Issue
Block a user