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
Fix tests for go1.18 #75
Comments
Examples of failing test cases:
@MordFustang21 had you ran |
https://github.com/maruel/panicparse/runs/5611499179 shows the failure. With regards to staticcheck, I confirmed that it is fixed but not yet released, i.e. this works: Let's just pin the version in the github actions file in the meantime. |
The command that fails is:
Sounds like a regression in the Go toolchain after all. |
golang/go#49390 confirms that the Go team considers Action item: bisect the Go toolchain to pinpoint when the regression occurred then file a bug upstream. |
With panicparse checked out at
After a few minutes, I got golang/go@c991278 as the culprit. Given its description, I tested a change 1e7f767 at The problem is that |
Filed golang/go#51814 as upstream issue. |
I did run it but I think I may have ran it with 1.17 because I was just testing the parsing of a 1.18 stack trace. |
Per the culprit commit, there's a way to revert back to the old behavior. Would it be a valid workaround to also set |
Released v2.2.1. |
As of 426572b,
go test ./...
crashes on go1.18.The text was updated successfully, but these errors were encountered: