]> Cypherpunks repositories - gostls13.git/commit
Don't use a named pointer type as a receiver type. The
authorIan Lance Taylor <iant@golang.org>
Wed, 5 Nov 2008 19:25:30 +0000 (11:25 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 5 Nov 2008 19:25:30 +0000 (11:25 -0800)
commit6cd74b03f38de40d84d1d9efe8663714ccfaaee5
treea79cff62eeda6331941c5961adbfda7ae82ce393
parent44a82746a18dad2ebbbaceeabe098ea1d436dd41
Don't use a named pointer type as a receiver type.  The
current spec forbids it:
    The type specified by the type name is called ``receiver
    base type''.  The receiver base type must be a type
    declared in the current file, and it must not be a pointer
    type.

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=18527
CL=18541
test/chan/powser1.go