]> Cypherpunks repositories - gostls13.git/commit
Proposal for new function type syntax as suggested by ken:
authorRobert Griesemer <gri@golang.org>
Mon, 8 Sep 2008 22:01:04 +0000 (15:01 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 8 Sep 2008 22:01:04 +0000 (15:01 -0700)
commit7231ceb714aa8c5df479dc772590e1495d3f3df4
treeddd61c22342bf3f72b9fa99085fd878be51346ec
parent478090851b020822dcf81b752b1d386f2f0a66bc
Proposal for new function type syntax as suggested by ken:
- removed "func" from function type
- make it work by changing composite literal syntax to use {} instead of ()

FunctionType is now more in line with the rest of the declarations, as the
keyword "func" is now really part of the declaration and not part of the type.

R=r,ken
DELTA=49  (14 added, 12 deleted, 23 changed)
OCL=14864
CL=14955
doc/go_spec.txt