[Issue 11012] [TDPL] is(typeof(f) == function) fails with some functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 22 17:16:45 PDT 2017


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

--- Comment #3 from Alexander <ismailsiege at gmail.com> ---
static assert(is(typeof( (){} ) == function));    // fails as well

This issue doesn't allow to get lambda parameter types tuple, and this blocks
my development. I'll try to have a look at the dmd source.

--


More information about the Digitalmars-d-bugs mailing list