]> Cypherpunks repositories - gostls13.git/commitdiff
allow methods on funcs.
authorRuss Cox <rsc@golang.org>
Thu, 5 Feb 2009 21:33:07 +0000 (13:33 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 5 Feb 2009 21:33:07 +0000 (13:33 -0800)
R=ken
OCL=24442
CL=24442

src/cmd/gc/subr.c

index e37dce60aef09d1707fa1202284835e1df33bbc7..593d07cd38522693277b9c5bee530143ee06c728 100644 (file)
@@ -1547,6 +1547,7 @@ dclmethod(Type *t)
        case TMAP:
        case TCHAN:
        case TSTRING:
+       case TFUNC:
                break;
        }