-
-
Notifications
You must be signed in to change notification settings - Fork 327
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
codegen: InputOutput Error #2152
Comments
You did not include the zig file you are refering to. Make sure that your issue includes all the necessary information to reproduce the observed behaviour. |
Whoops, meant to link to it, sorry. It's here: https://github.com/jcalabro/uscope/blob/bab9a9396e9a74cb10af39d45079e7897d0437d4/src/gui/views/Primary.zig#L698 |
Could you elaborate further? Your issue description is a mystery to me. Where are you seeing this error? What exactly are you doing to get this error? How is this related to the |
All I did was open that file in helix. The reason I pointed that function out is that it was the one that was erroring with the message However, I just tried to repro and I can't so I guess we should close. |
Oh so you are getting that error displayed as a diagnostic in your editor. This is what I was wondering about. The source of such an error would most likely be Build On Save. Did you enable this feature by chance? |
I did enable that at some point, yes! https://github.com/jcalabro/dotfiles/blob/main/fedora/zls.json This only started happening the other day after updating from zig 0.13.0 -> 0.14.0-dev.2577+271452d22 Still not sure how to repro though...tried from multiple machines but couldn't get it to crop back up |
Probably a zig compiler issue rather than zls. I just got a
|
Zig Version
0.14.0-dev.2577+271452d22
ZLS Version
0.14.0-dev (specifically 9fc45ca)
Client / Code Editor / Extensions
helix 25.1
Steps to Reproduce and Observed Behavior
Hi all, I'm getting an error
unable to codegen: InputOutput
on this line of the debugger. This just started happening the other day because I ran 0.13.0 for a long time, and just upgraded both zig and zls.Not 100% if this is a zig or a zls bug, but the program builds and runs just fine, and
countNumberOfDigits
isn't dead code; it's used all over this file.Expected Behavior
I expect zls to be able to handle the linked zig file and give me appropriate suggestions without giving me warnings or errors.
Relevant log output
The text was updated successfully, but these errors were encountered: