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

Support returning existential types in functions #97

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Matejkob
Copy link
Owner

@Matejkob Matejkob commented Jun 24, 2024

Add support for such a functions:

@Spyable protocol Foo {
  func get() -> any Codable
}

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 86.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 97.92%. Comparing base (16f7832) to head (fbf2d7f).

Files Patch % Lines
...es/SpyableMacro/Factories/ReturnValueFactory.swift 86.66% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #97      +/-   ##
==========================================
- Coverage   98.39%   97.92%   -0.48%     
==========================================
  Files          18       18              
  Lines         749      772      +23     
==========================================
+ Hits          737      756      +19     
- Misses         12       16       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Matejkob Matejkob merged commit e8e5595 into main Jun 25, 2024
2 of 4 checks passed
@Matejkob Matejkob deleted the return-existential branch June 25, 2024 18:47
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.

1 participant