cmd/gc: improve syntax error for "import testing"
for this program: package A import testing old diagnostics: pkg.go:2: syntax error: unexpected semicolon or newline, expecting string literal now: pkg.go:2: syntax error: missing import path; require quoted string Fixes #5332. R=golang-dev, r CC=golang-dev https://golang.org/cl/9393043
Showing
Please register or sign in to comment