Thread overview
[Issue 17659] `pure` causes function to be inferred as a delegate
Dec 17, 2022
Iain Buclaw
July 17, 2017
https://issues.dlang.org/show_bug.cgi?id=17659

Steven Schveighoffer <schveiguy@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy@yahoo.com

--- Comment #1 from Steven Schveighoffer <schveiguy@yahoo.com> ---
I'll add a note that it certainly is possible for a function to be inferred:

void foo() pure {
   indirectCall(function() {x++;}); // void function() nothrow @nogc @system
}

The compiler should be able to do so.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=17659

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2

--
December 13
https://issues.dlang.org/show_bug.cgi?id=17659

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19284

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--