[Issue 12579] DMD rejects valid function literal

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Sep 24 05:03:46 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12579

--- Comment #6 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/7fbb9cac0718f36e27c19905ec037f9bf692e774
fix Issue 12579 - DMD rejects valid function literal

Remove FuncDeclaratorSuffixes to disallow zero, two or more parameter lists

And disallow mixing C-style suffix in function declaration, as follows:

  void foo[](int a);

--


More information about the Digitalmars-d-bugs mailing list