```d import std; struct tree(T){ alias node=typeof(this)[2]*; SumType!(T,node) data; bool isleaf()=> data.match!( (T)=>true, (node)=>false); } unittest{ tree!int foo; } ``` adding names to the lamdas arguments cause it to compile
This is expected behavior. Those lambdas are templates, adding names stops that.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9872 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB