July 17, 2017 [Issue 17659] `pure` causes function to be inferred as a delegate | ||||
---|---|---|---|---|
| ||||
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 [Issue 17659] `pure` causes function to be inferred as a delegate | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17659 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 -- |
Copyright © 1999-2021 by the D Language Foundation