-
Notifications
You must be signed in to change notification settings - Fork 9
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
Panic when trying to run with a struct that has an internal error
field
#48
Comments
Actually, even if I disable the lint with |
Hello @rcaetanomeli, and thank you for the report! Looks like this is the same problem as in #38 that has been already fixed in #39, at least I can't reproduce the panic using your example on the current I assume you're using the latest version of
The thing is, the |
Closing, as the new Let me know if the problem still persists. |
Great! Thanks @tmzane |
When trying to run my linters, the
musttag
fails with the following stack trace:I track down the panic, and got the following example:
The problem seems to occur when trying to parse the
Err
field in theparseStructType
function. I can solve it by disablingmusttag
inMyError
struct, instead of using-
json tag. But it took me a while to track this down, so I think a fix would be appropriated.The text was updated successfully, but these errors were encountered: