commit | 7231ceb714aa8c5df479dc772590e1495d3f3df4 | [log] [tgz] |
---|---|---|
author | Robert Griesemer <gri@golang.org> | Mon Sep 08 15:01:04 2008 -0700 |
committer | Robert Griesemer <gri@golang.org> | Mon Sep 08 15:01:04 2008 -0700 |
tree | ddd61c22342bf3f72b9fa99085fd878be51346ec | |
parent | 478090851b020822dcf81b752b1d386f2f0a66bc [diff] |
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