[Issue 17444] std.traits.isCallable doesn't recognize struct member function if return type is 'auto'.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat May 27 04:06:50 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17444
uplink.coder at googlemail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uplink.coder at googlemail.com
--- Comment #1 from uplink.coder at googlemail.com ---
This has to do with the order of symbol resolving.
You will see that it will print good, if you put the static if outside of the
struct body.
--
More information about the Digitalmars-d-bugs
mailing list