cmd/go: go build output creates unexpected file when directory of same name exists #34535
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
An error message saying the file cannot be created.
What did you see instead?
A file created with the surprising name
/root/test/command-line-arguments
.This is a minor strange issue. Seemed best to document, rather than ignore.
#31296 is related.
The text was updated successfully, but these errors were encountered: