Programming Search⌘K

Swift errors and diagnostics, page 11 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.

'self' within init accessors can only be used to reference properties listed in 'initializes' and 'accesses'; init accessors are run before 'self' is fully available. invalid_use_of_self_in_init_accessor

Code
invalid_use_of_self_in_init_accessor
Severity
error
Message
'self' within init accessors can only be used to reference properties listed in 'initializes' and 'accesses'; init accessors are run before 'self' is fully available

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

Conformance of … to … should be marked 'nonisolated' to retain its behavior with upcoming feature 'InferIsolatedConformances'. isolated_conformance_will_become_nonisolated

The compiler puts it in the diagnostic group IsolatedConformances.

Code
isolated_conformance_will_become_nonisolated
Severity
warning
Message
conformance of {} to {} should be marked 'nonisolated' to retain its behavior with upcoming feature 'InferIsolatedConformances'

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