Commit 76b2f06e authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

cmd/gc: fix filename output format verb for -s

%lL will prepend the current directory to the filename, which is not
what we want here (as the file name is already absolute).

Fixes #9150.

Change-Id: I4c9386be6baf421393b92d9401a264b4692986d0
Reviewed-on: https://go-review.googlesource.com/2231Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 5da9c8cd
......@@ -2537,7 +2537,7 @@ pushtype(Node *n, Type *t)
else if(debug['s']) {
typecheck(&n->right, Etype);
if(n->right->type != T && eqtype(n->right->type, t))
print("%lL: redundant type: %T\n", n->lineno, t);
print("%L: redundant type: %T\n", n->lineno, t);
}
}
......
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