1
0
mirror of https://github.com/golang/go synced 2024-11-13 17:10:21 -07:00

allow methods on funcs.

R=ken
OCL=24442
CL=24442
This commit is contained in:
Russ Cox 2009-02-05 13:33:07 -08:00
parent 7fd04676ad
commit 5e2c05877d

View File

@ -1547,6 +1547,7 @@ dclmethod(Type *t)
case TMAP:
case TCHAN:
case TSTRING:
case TFUNC:
break;
}