digitalmars.D.bugs - [Issue 4401] New: auto functions cannot be inner functions
- d-bugmail puremagic.com (28/28) Jun 28 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (7/7) Jun 28 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (13/13) Jun 30 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (6/6) Jul 01 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (10/10) Jul 01 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (10/10) Jul 30 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (8/8) Jul 30 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (10/10) Nov 07 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (12/12) Nov 07 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4401
- d-bugmail puremagic.com (12/12) Nov 07 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4401
http://d.puremagic.com/issues/show_bug.cgi?id=4401 Summary: auto functions cannot be inner functions Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: philippe.sigaud gmail.com 16:07:11 CEST --- It seems auto function cannot be inner functions: void foo() { string bar(string s) { return s;} // works auto baz(string s) { return s;} // error! } Errors: main.d|13|found 's' when expecting ')'| main.d|13|semicolon expected, not ')'| main.d|13|found ')' instead of statement| Reading the docs, nothing tells me auto functions cannot be used as inner function. So either it's a bug or you should update the docs. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 28 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4401 21:32:58 PDT --- Created an attachment (id=686) allow parsing inner auto functions -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 28 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4401 Leopold Walkling <leopold_walkling web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leopold_walkling web.de 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: -------
Jun 30 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4401 09:10:51 PDT --- seems this is a duplicate of issue 3654 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 01 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4401 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |baryluk smp.if.uj.edu.pl *** Issue 3654 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 01 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4401 klickverbot <code klickverbot.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc --- *** Issue 5045 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 30 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4401 --- For newer DMD versions, the error messages seems to have moved a level higher: »function declaration without return type. (Note that constructors are always named 'this')« -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 30 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4401 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsimcha yahoo.com *** Issue 6903 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 07 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4401 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |All OS/Version|Windows |All D2 Patch: https://github.com/D-Programming-Language/dmd/pull/500 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 07 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4401 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 21:43:53 PST --- https://github.com/D-Programming-Language/dmd/commit/9f6e32ec88f4137b5030785813cd7b20c94831d5 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 07 2011