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

Illegal instructions 4 when parsing enum #791

Open
bdhersh opened this issue Sep 11, 2023 · 1 comment
Open

Illegal instructions 4 when parsing enum #791

bdhersh opened this issue Sep 11, 2023 · 1 comment

Comments

@bdhersh
Copy link

bdhersh commented Sep 11, 2023

I’ve narrowed the illegal instruction 4 error to the usage of enums, whether or not they are public, inside or outside the scope of my main classes, and whether or not they have ///comments

Removing the enum allows me to parse the file. The issue is consistent with several different files.

Any advice on a workaround? I am on 0.31.0

Was testing with sourcekitten doc —single-file command in terminal.

@johnfairh
Copy link
Collaborator

Latest SourceKitten is 0.34.1 -- 0.31.0 is three years old.

The problem sounds familiar and I expect it is fixed in latest. If you do still see the problem on latest then please post a minimal recreate and we can look into it.

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

No branches or pull requests

2 participants