Programming Search⌘K

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

'…' may not be used on the parameter of a subscript whose read and write go through separate accessors; a read-modify-write access would consume the argument more than once. subscript_consuming_parameter_separate_accessors

Code
subscript_consuming_parameter_separate_accessors
Severity
error
Message
'{}' may not be used on the parameter of a subscript whose read and write go through separate accessors; a read-modify-write access would consume the argument more than once

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

The loaded _SwiftifyImport macro plugin does not support the 'nullableAsEmptySpan' parameter; generated safe wrappers will retain the legacy Optional-propagating behavior for _Nullable __counted_by and __sized_by pointers. swiftify_nullable_as_empty_span_param_missing

Code
swiftify_nullable_as_empty_span_param_missing
Severity
warning
Message
the loaded _SwiftifyImport macro plugin does not support the 'nullableAsEmptySpan' parameter; generated safe wrappers will retain the legacy Optional-propagating behavior for _Nullable __counted_by and __sized_by pointers

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

Cannot emit a TBD file with the 'inlinable' code generation model of Embedded Swift; use '-enable-experimental-feature CodeGenerationModel=interface' or '-enable-experimental-feature CodeGenerationModel=implementation'. tbd_not_supported_with_inlinable_code_generation

Code
tbd_not_supported_with_inlinable_code_generation
Severity
error
Message
cannot emit a TBD file with the 'inlinable' code generation model of Embedded Swift; use '-enable-experimental-feature CodeGenerationModel=interface' or '-enable-experimental-feature CodeGenerationModel=implementation'

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