https://issues.dlang.org/show_bug.cgi?id=16410
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC|[email protected] | Severity|enhancement |major --- Comment #6 from [email protected] --- (In reply to Lodovico Giaretta from comment #1) > I forgot to mention that if Bar is a templated struct, attribute inference > happens correctly, even with an explicit return type. > So this is a bug specific to templated classes. oops I've forget to read that. Repairing modifications now. --
