[Issue 16655] lambda with type alias parameter fails std.traits.isSomeFunction

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Nov 2 03:45:58 PDT 2016


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

--- Comment #1 from Nick Treleaven <nick at geany.org> ---
Workaround is to add parameter names:

alias ls = (string s) => "string";    
alias lc = (Red r) => "red";

--


More information about the Digitalmars-d-bugs mailing list