Commit 637e1f7d authored by Ian Lance Taylor's avatar Ian Lance Taylor

cmd/gc: correct function name in internal error messages

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/64090043
parent c3922f0a
......@@ -857,7 +857,7 @@ ctxt = 0;
r = l->n;
if(r->op != OKEY)
fatal("slicelit: rhs not OKEY: %N", r);
fatal("maplit: rhs not OKEY: %N", r);
index = r->left;
value = r->right;
......@@ -901,7 +901,7 @@ ctxt = 0;
r = l->n;
if(r->op != OKEY)
fatal("slicelit: rhs not OKEY: %N", r);
fatal("maplit: rhs not OKEY: %N", r);
index = r->left;
value = r->right;
......@@ -965,7 +965,7 @@ ctxt = 0;
r = l->n;
if(r->op != OKEY)
fatal("slicelit: rhs not OKEY: %N", r);
fatal("maplit: rhs not OKEY: %N", r);
index = r->left;
value = r->right;
......
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