You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with Zig but would it be possible to add an error message? and just out of curiosity (again :D), is there a reason to do an assert instead of say, pick the last one with the same name?
thanks
The text was updated successfully, but these errors were encountered:
Good point, I should probably change this to an error message, since this is something that could be triggered by a user. Assert was easiest at the time. Should be fixed soon
Previously, as mentioned in #8, broken assertions in the zig code would
generate cryptic error messages. A bunch of these assertions however
could be triggered by user behavior, like accidentally trying to include
a plugin twice, or through an incorrect assumption in nixpkgs.
In situations like these, I now have more sensible readable error
messages with potential fixes.
Previously, as mentioned in #8, broken assertions in the zig code would
generate cryptic error messages. A bunch of these assertions however
could be triggered by user behavior, like accidentally trying to include
a plugin twice, or through an incorrect assumption in nixpkgs.
In situations like these, I now have more sensible readable error
messages with potential fixes.
FYI I got this
when I accidentally left two same plugins in the flake
It seems the error has thrown in https://github.com/NicoElbers/nv/blob/0331a51e9c124f6c6dc1fc3b67d3c015aae25b8d/patcher/src/parsers/InputParser.zig#L31C1-L42C6
I'm not familiar with Zig but would it be possible to add an error message? and just out of curiosity (again :D), is there a reason to do an
assert
instead of say, pick the last one with the same name?thanks
The text was updated successfully, but these errors were encountered: