Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix registrar overload resolution #104

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

stephencelis
Copy link
Member

It looks like the @availability check we apply to the extension that adds an Observable conformance prevents iOS 17+ deployment targets from calling the correct version of access, which leads to errant perception checks.

It looks like the `@availability` check we apply to the extension that
adds an `Observable` conformance prevents iOS 17+ deployment targets
from calling the correct version of `access`, which leads to errant
perception checks.
@stephencelis
Copy link
Member Author

While I think we probably could merge this as cleanup, I'm not seeing the overload working consistently across projects, so this branch may not fix the underlying behavior just yet.

@stephencelis stephencelis merged commit 7a71cb8 into fix-access-signature Nov 4, 2024
@stephencelis stephencelis deleted the overload-resolution-fixes branch November 4, 2024 22:30
stephencelis added a commit that referenced this pull request Nov 5, 2024
* Fix signature of 'access' method.

wip

* Fix registrar overload resolution (#104)

* Fix registrar overload resolution

It looks like the `@availability` check we apply to the extension that
adds an `Observable` conformance prevents iOS 17+ deployment targets
from calling the correct version of `access`, which leads to errant
perception checks.

* Update Sources/Perception/Perceptible.swift

Co-authored-by: Brandon Williams <[email protected]>

---------

Co-authored-by: Brandon Williams <[email protected]>

---------

Co-authored-by: Stephen Celis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants