original problem: https://run.dlang.io/is/Yvu5qu
here's a possible test case:
alias Seq(T...)=T;
int main(){
auto foo = 2;
assert((){
auto bar()=>foo;
struct RESULT { alias seq = Seq!bar; }
return RESULT();
}().seq[0]()==foo);
return 0;
}
Comment #1 by robert.schadek — 2024-12-13T19:31:12Z