Open
Conversation
"Non-'@objc' instance method in extensions cannot be overridden; use 'public' instead"
|
Hi @dehesa, |
'Foundation' was not imported by this file.
|
@dehesa please accept this pull request :) |
The workaround fixes an internal Swift 5.10 compiler bug, where an error is thrown when 'NSDecimalString' is encountered in the source code. As a side effect, Swift tools version is upgraded to 5.9, and the deployment platforms are drastically narrowed down.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following warning is emitted for a number of function declarations when compiling with Swift 5.7 (Xcode 14 Beta):
"Non-'@objc' instance method in extensions cannot be overridden; use 'public' instead"
Changing the access levels of the functions from open to public resolves the warnings.