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: When linking inheritedType, if the name includes &, separate and link it #82

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

TTOzzi
Copy link
Contributor

@TTOzzi TTOzzi commented Feb 22, 2024

resolves #80

This PR implements the workaround for #80.
If the name in inheritedTypes received from SourceKitten contains an & delimiter, it separates them to link the inheritance relationships.
If arbitrarily modifying the syntax structure parsed by SourceKitten does not align with the project's direction, feel free to close this PR.

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e2e93e0) 94.56% compared to head (4ed6a00) 94.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   94.56%   94.60%   +0.03%     
==========================================
  Files          25       25              
  Lines         956      963       +7     
==========================================
+ Hits          904      911       +7     
  Misses         52       52              

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

@MarcoEidinger
Copy link
Owner

Thanks @TTOzzi for this PR .. even including covering unit test .. I LOVE IT 👍

@MarcoEidinger MarcoEidinger merged commit 8f5a1ff into MarcoEidinger:main Feb 22, 2024
6 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.

Syntax error in protocol multiple inheritance with '&' separator
2 participants