We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On the following program:
package a import _ "unicode//utf8"
go tool compile prints:
go tool compile
non-canonical import path "unicode//utf8" (should be "")
Go1.4 printed:
non-canonical import path unicode//utf8 (should be unicode/utf8)
The name was lost somewhere during translation. C code contained:
q = mal(name->len+1); memmove(q, name->s, name->len); q[name->len] = '\0'; cleanname(q); if(strlen(q) != name->len || memcmp(q, name->s, name->len) != 0) { yyerror("non-canonical import path %Z (should be %s)", name, q); return 0; }
Go code now contains:
var q string _ = q if path.Clean(name) != name { Yyerror("non-canonical import path %q (should be %q)", name, q) return "", false }
go version devel +514014c Thu Jun 18 15:54:35 2015 +0200 linux/amd64
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/15580 mentions this issue.
Sorry, something went wrong.
cb0e98b
No branches or pull requests
On the following program:
go tool compile
prints:Go1.4 printed:
The name was lost somewhere during translation. C code contained:
Go code now contains:
go version devel +514014c Thu Jun 18 15:54:35 2015 +0200 linux/amd64
The text was updated successfully, but these errors were encountered: