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

Feature request: Support attributes in TypeInheritance #109

Open
2 tasks done
tjprescott opened this issue Apr 22, 2022 · 2 comments
Open
2 tasks done

Feature request: Support attributes in TypeInheritance #109

tjprescott opened this issue Apr 22, 2022 · 2 comments

Comments

@tjprescott
Copy link

🚨New Issue Checklist🚨

  • Updated swift-ast to the latest version
  • I am aware that the swift-ast -github-issue /path/to/file.swift might help me generate this file

Issue Summary

Environment

  • OS Info: [Please insert the operating system name and version]
  • Yanagiba/swift-ast version: [Please insert the swift-ast version]

Reproduction Steps

Try to parse:
class SomeClass: @unchecked Sendable

It will fail due to the @unchecked attribute. It doesn't seem the swift-ast type inheritance parser accepts attributes.

Command to run swift-ast with the code above:
swift-ast sample.swift

Expected Result

What do you expect to happen as a result of the reproduction steps?

Actual Behavior

What currently happens as a result of the reproduction steps?

[
  Insert the current outputs and
  maybe other information that
  could help us understand the issue better
]

Even Better

Is your project open sourced? If yes, can you point us to your repository?
If not, is it possible to make a small project that fails the Travis CI?
If not, can you create a gist with your sample code for us?

@ryuichi-assistant
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment.

@tjprescott
Copy link
Author

Since this hasn't been updated since 2019, no, this definitely isn't solved in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants