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 to search for 'Spyable' in AttributeListSyntax when checking behindPreprocessorFlag. #83

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

TTOzzi
Copy link
Contributor

@TTOzzi TTOzzi commented Jan 26, 2024

Resolve #79

Hello 👋
Fix to search for Spyable in AttributeListSyntax when checking behindPreprocessorFlag and add test case.

@Matejkob Matejkob self-requested a review February 1, 2024 17:06
Copy link
Owner

@Matejkob Matejkob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!
Everything looks good! 🙌

Sources/SpyableMacro/Macro/SpyableMacro.swift Show resolved Hide resolved
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d4fb93e) 96.69% compared to head (64c6561) 96.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   96.69%   96.70%   +0.01%     
==========================================
  Files          17       17              
  Lines         695      699       +4     
==========================================
+ Hits          672      676       +4     
  Misses         23       23              

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

@Matejkob Matejkob merged commit 4e093c3 into Matejkob:main Feb 1, 2024
4 checks passed
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.

Preprocessor flag can't be retriever when protocol has more then one attribute
2 participants