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
cmd/go: typo in flag causes panic when running a test file in GOROOT/src #35176
Comments
Just pulled down the newest master and checked and was unable to reproduce, was this already fixed? I wanted to fix it :D
|
On my phone, but I wonder whether you have to be in dir $GOROOT/src to reproduce. |
I equally cannot reproduce this on |
Sorry about that. I believe to reproduce you need a test file in GOROOT/src, and then run from that dir. Which means this is pretty low priority. Will re-milestone. |
Reproduced with the instructions from the last comment. It looks like The bug is that Maybe we should detect and reject this case specifically? It's such a small corner case though. |
Has it been fixed?
|
Yep, looks like this was fixed in https://go.dev/cl/185345 (March 2020). Thanks for checking! |
At tip:
Note the typo:
timeoout
instead oftimeout
.cc @bcmills @jayconrod
The text was updated successfully, but these errors were encountered: