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 forced unwrapped type as function return type #99

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Matejkob
Copy link
Owner

@Matejkob Matejkob commented Jun 25, 2024

Add support to forced unwrapped types as function return type such as this one:

@spyable protocol Foo {
  func foo() -> String!
}

@Matejkob Matejkob linked an issue Jun 25, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.49%. Comparing base (e8e5595) to head (f4aee27).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   97.92%   98.49%   +0.57%     
==========================================
  Files          18       18              
  Lines         772      799      +27     
==========================================
+ Hits          756      787      +31     
+ Misses         16       12       -4     

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

@Matejkob Matejkob merged commit 55fc708 into main Jun 25, 2024
4 checks passed
@Matejkob Matejkob deleted the return-force-unwrapped branch June 25, 2024 19:15
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.

Forced Unwrapped as returned type in func fails
1 participant