On Thursday, 19 March 2020 at 18:17:45 UTC, Kagamin wrote:
>
> case Good.Baguette:
> return (){
> Foo f = { type_: type, f1: typeof(Foo.f1)("Hello World") };
> return f;
> }();
This satisfies the compiler (the frontend doesn't complain), but
it doesn't do NRVO, it's a move, even on LDC. Still good to know.