Commit b693847e authored by Russ Cox's avatar Russ Cox

gc: print error detail about failure to open import

R=ken2
CC=golang-dev
https://golang.org/cl/1872041
parent 08e65f79
......@@ -384,7 +384,7 @@ importfile(Val *f, int line)
imp = Bopen(namebuf, OREAD);
if(imp == nil) {
yyerror("can't open import: %Z", f->u.sval);
yyerror("can't open import: %Z: %r", f->u.sval);
errorexit();
}
file = strdup(namebuf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment