1
0
mirror of https://github.com/golang/go synced 2024-11-26 03:27:58 -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 TMAP:
case TCHAN: case TCHAN:
case TSTRING: case TSTRING:
case TFUNC:
break; break;
} }