https://issues.dlang.org/show_bug.cgi?id=17444
--- Comment #3 from [email protected] --- I would classify this as a bug, however it seems like a fix for this would break other situations. for now the best workaround is to not use functions returning auto inside that struct. --
