-
Notifications
You must be signed in to change notification settings - Fork 273
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: assertion failed [recovered] #59
Comments
I'll look at this over the weekend. |
@l2dy I cannot reproduce the issue using the same config, running the linter over thrift. I'm using go version go1.11 darwin/amd64, macOS 10.31.6. It'll be very useful if you can find which file causes the panic so I can take a further look. |
I'm testing https://github.com/pingcap/tidb, as noted at the end of the issue. |
Ups, missed that. Thanks! |
Still cannot reproduce the issue. Tried also to run Would you also run |
golint also crashes.
|
Yes, |
It's interesting that I was able to reproduce it once and since then everything passes successfully. I'll try again tomorrow. |
I can reproduce it systematically, using any typed rule. # config file
ignoreGeneratedHeader = false
severity = "warning"
confidence = 0.8
errorCode = 0
warningCode = 0
[rule.context-keys-type] |
Would you have time to look at it? I still can't reproduce the problem. |
@mgechev, no problem. I will work on the problem from this Thursday. |
the problematic line is 484 in
I was unable to reproduce the bug in go 1.10 |
We can add a |
Closing the issue for now. Let's still keep an eye on this. |
Describe the bug
revive panics.
To Reproduce
Steps to reproduce the behavior:
go get -u github.com/mgechev/revive
Expected behavior
No panic.
Logs
Desktop (please complete the following information):
Additional context
The repository tested is https://github.com/pingcap/tidb.
The text was updated successfully, but these errors were encountered: