[Issue 12938] Error message mistake in out parameter with @disable this
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jun 17 06:56:39 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12938
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |maxim at maxim-fomin.ru
Resolution|--- |INVALID
--- Comment #1 from Maxim Fomin <maxim at maxim-fomin.ru> ---
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;
--
More information about the Digitalmars-d-bugs
mailing list