Programming Search⌘K

Swift errors and diagnostics, page 2 of 20

The error codes and warnings of Swift, with the message that each one prints and what causes it. This page has 3,841 cards.

Feature '…' will cause nonisolated async closure to run on the caller's actor; use '@concurrent' to preserve behavior. attr_execution_nonisolated_behavior_will_change_closure

The compiler puts it in the diagnostic group NonisolatedNonsendingByDefault.

Code
attr_execution_nonisolated_behavior_will_change_closure
Severity
warning
Message
feature '{}' will cause nonisolated async closure to run on the caller's actor; use '@concurrent' to preserve behavior

Source: github.com. JSON record. This entry is a card. Help write this page.

Feature '…' will cause nonisolated async … to run on the caller's actor; use '@concurrent' to preserve behavior. attr_execution_nonisolated_behavior_will_change_decl

The compiler puts it in the diagnostic group NonisolatedNonsendingByDefault.

Code
attr_execution_nonisolated_behavior_will_change_decl
Severity
warning
Message
feature '{}' will cause nonisolated async {} to run on the caller's actor; use '@concurrent' to preserve behavior

Source: github.com. JSON record. This entry is a card. Help write this page.

Feature '…' will cause nonisolated async function type to be treated as specified to run on the caller's actor; use '@concurrent' to preserve behavior. attr_execution_nonisolated_behavior_will_change_typerepr

The compiler puts it in the diagnostic group NonisolatedNonsendingByDefault.

Code
attr_execution_nonisolated_behavior_will_change_typerepr
Severity
warning
Message
feature '{}' will cause nonisolated async function type to be treated as specified to run on the caller's actor; use '@concurrent' to preserve behavior

Source: github.com. JSON record. This entry is a card. Help write this page.

'@objc @implementation' cannot be used to extend … because it was defined by a Swift 'class' declaration, not an imported Objective-C '@interface' declaration. attr_objc_implementation_must_be_imported

Code
attr_objc_implementation_must_be_imported
Severity
error
Message
'@objc @implementation' cannot be used to extend {} because it was defined by a Swift 'class' declaration, not an imported Objective-C '@interface' declaration

Source: github.com. JSON record. This entry is a card. Help write this page.

'@implementation' on … … does not support stored properties whose size can change due to library evolution; raise the minimum deployment target to … … or store this value in an object or 'any' type. attr_objc_implementation_resilient_property_deployment_target

Code
attr_objc_implementation_resilient_property_deployment_target
Severity
error
Message
'@implementation' on {} {} does not support stored properties whose size can change due to library evolution; raise the minimum deployment target to {} {} or store this value in an object or 'any' type

Source: github.com. JSON record. This entry is a card. Help write this page.

'@implementation' does not support stored properties whose size can change due to library evolution; store this value in an object or 'any' type. attr_objc_implementation_resilient_property_not_supported

Code
attr_objc_implementation_resilient_property_not_supported
Severity
error
Message
'@implementation' does not support stored properties whose size can change due to library evolution; store this value in an object or 'any' type

Source: github.com. JSON record. This entry is a card. Help write this page.