arcgis-maps-sdk-swift-samples icon indicating copy to clipboard operation
arcgis-maps-sdk-swift-samples copied to clipboard

Examine ExistentialAny

Open yo1995 opened this issue 5 months ago • 0 comments

-enable-upcoming-feature ExistentialAny

Image

Examine the ExistentialAny conformance in the project and add missing any for the protocol types. Most commonly seen,

Use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode

- @State private var error: Error?
+ @State private var error: (any Error)?

yo1995 avatar Jul 03 '25 23:07 yo1995