DanielGavin / ols

Language server for Odin
MIT License
375 stars 56 forks source link

OLS confused by bit field definitions #409

Open dogue opened 2 weeks ago

dogue commented 2 weeks ago

Minor bug and does not interfere with usage of Odin or OLS.

I'm getting an error in the editor you cannot use a block statement in the file scope when defining bit_field types.

Running odin check . -no-entry-point -warnings-as-errors -strict-style -vet (as strict as I could make it) passes with no errors. Building the project also succeeds without error.

image

Edit: According to Mason this is on the nightly release.

image