https://issues.dlang.org/show_bug.cgi?id=12938
Maxim Fomin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Maxim Fomin <[email protected]> --- It is not a bug. Some time ago I collected number of out problems, when code which should not be accepted is accepted and submitted them to bugzilla. The reason the code is rejected is because the struct has disabled init, so providing such value should be explicit only. In other words, the rejection reasoning is the same as rejecting S x; --
