Commit e11447f7 authored by Russ Cox's avatar Russ Cox

bug148.

R=ken
OCL=31582
CL=31582
parent 60d223a4
......@@ -1067,7 +1067,7 @@ Tpretty(Fmt *fp, Type *t)
return 0;
if(s->imported)
return 0;
if(s->def == N || s->def->op != OTYPE || s->def->type != t || !s->export) {
if(t->vargen || !s->export) {
fmtprint(fp, "·%s", filename);
if(t->vargen)
fmtprint(fp, "·%d", t->vargen);
......
......@@ -93,8 +93,10 @@ BUG: should not compile
=========== bugs/bug148.go
2 3
5 7
BUG: should crash
interface is main.T, not main.T·bug148·1
throw: interface conversion
panic PC=xxx
=========== bugs/bug159.go
xyz: expected 1 2 3 got 3 2 1
......
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