yanagiba / swift-ast

A Swift AST parser and visitor that is written in Swift.
Apache License 2.0
355 stars 40 forks source link

Feature request: Support attributes in TypeInheritance #109

Open tjprescott opened 2 years ago

tjprescott commented 2 years ago

🚨New Issue Checklist🚨

Issue Summary

Environment

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 commented 2 years ago

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 commented 2 years ago

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