[Issue 4401] auto functions cannot be inner functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 30 12:58:51 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4401
Leopold Walkling <leopold_walkling at web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |leopold_walkling at web.de
--- Comment #2 from Leopold Walkling <leopold_walkling at web.de> 2010-06-30 12:58:50 PDT ---
While skimming parser.c I noticed that the auto keyword is treated like a
storage specifier, so this one is allowed:
auto void bar() { }
The spec says nothing about this case, but it seems nonsensical.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list