cmd/go: get / build fails if a commented import declaration exists after package declaration #37747
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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?
go get github.com/42wim/matterbridge
(which includes a vendor that has a commented import path)Simplified version below:
What did you expect to see?
A working build.
What did you see instead?
Or for the simplified version
go run main.go
works fineIssue seems to be introduced in go 1.13
Can not reproduce it in go 1.12.17
The text was updated successfully, but these errors were encountered: