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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support any #90

Open
crane-hiromu opened this issue Apr 2, 2024 · 1 comment
Open

Support any #90

crane-hiromu opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@crane-hiromu
Copy link

crane-hiromu commented Apr 2, 2024

Thank you for creating this library 馃


Describe the bug

Regarding any, which will definitely be implemented in swift in the future
-> https://github.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md


We are unable to conduct tests because the code generated by Spyable macro lacks the 'any' attachment on the protocol.
If a new Xcode 15.3~ or flag is turned on...

Screenshot 2024-04-02 at 18 32 25



To Reproduce

When we use

  • Xcode 15.3~

or

  • -enable-upcoming-feature ExistentialAny flag

Expected behavior

Can run tests


Additional context

We are rewriting mock code using Spyable in a large-scale project.
Your support with this task would be greatly appreciated in the nearly future.
Thanks 馃憤

@crane-hiromu crane-hiromu added the bug Something isn't working label Apr 2, 2024
@Matejkob
Copy link
Owner

Matejkob commented Apr 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants