https://issues.dlang.org/show_bug.cgi?id=5941
Kenji Hara <k.hara...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Kenji Hara <k.hara...@gmail.com> --- (In reply to Maksim Zholudev from comment #5) > Is this behavior correct? Currently it's correct. A nested struct is not constructible outside of the defined function, because it needs valid enclosing context. I think the original attribute-dependent issue is fixed. --