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

Ignore failure in Watch.init and just return #2041

Closed
wants to merge 1 commit into from

Conversation

mocompute
Copy link

Addresses #2040 but a change in Zig is required before it closes our bug: ziglang/zig#21543 (comment)

mocompute added a commit to mocompute/zig that referenced this pull request Sep 29, 2024
Fixes ziglang#21543.

Since UnsupportedFlags was caught explicitly, I replaced the fatal()
call with a std.log.err to maintain that behaviour. Returning an error
from init() will help clients fail gracefully, especially zls:
zigtools/zls#2041
@mocompute
Copy link
Author

I've confirmed that I can now navigate dependency package sources again with 0.14.0-dev through zls with this and the ziglang/zig patch applied.

mocompute added a commit to mocompute/zig that referenced this pull request Oct 15, 2024
Fixes ziglang#21543.

Since UnsupportedFlags was caught explicitly, I replaced the fatal()
call with a std.log.err to maintain that behaviour. Returning an error
from init() will help clients fail gracefully, especially zls:
zigtools/zls#2041
mocompute added a commit to mocompute/zig that referenced this pull request Oct 17, 2024
Fixes ziglang#21543.

Since UnsupportedFlags was caught explicitly, I replaced the fatal()
call with a std.log.err to maintain that behaviour. Returning an error
from init() will help clients fail gracefully, especially zls:
zigtools/zls#2041
mocompute added a commit to mocompute/zig that referenced this pull request Oct 29, 2024
Fixes ziglang#21543.

Since UnsupportedFlags was caught explicitly, I replaced the fatal()
call with a std.log.err to maintain that behaviour. Returning an error
from init() will help clients fail gracefully, especially zls:
zigtools/zls#2041
Techatrix added a commit that referenced this pull request Nov 17, 2024
Watch Mode is not yet being used but this change is going to be necessary anyway.

fixes #2040
closes #2041
@Techatrix Techatrix closed this in 3d6eb6c Nov 18, 2024
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

Successfully merging this pull request may close these issues.

1 participant