https://issues.dlang.org/show_bug.cgi?id=17194
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P2
--
https://issues.dlang.org/show_bug.cgi?id=17194
Mike Franklin changed:
What|Removed |Added
See Also|
https://issues.dlang.org/show_bug.cgi?id=17194
--- Comment #5 from radu.raca...@gmail.com ---
Just to point that "scope" is to blame here, removing "scope" from the inner
stuct ctor like:
+++
struct V
{
W w;
struct W
{
this(/*scope*/ ref V v)
{
https://issues.dlang.org/show_bug.cgi?id=17194
--- Comment #4 from radu.raca...@gmail.com ---
I think the original description is different than Elie's example.
For one, the argument is sent by ref - the issue I was describing is related to
the interaction of 'scope' and 'ref'.
I expected that
https://issues.dlang.org/show_bug.cgi?id=17194
Walter Bright changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=17194
--- Comment #2 from Vladimir Panteleev ---
Elle's example stopped working after https://github.com/dlang/dmd/pull/5897 but
I don't know enough about scope whether know if this can be marked as a
regression.
--
https://issues.dlang.org/show_bug.cgi?id=17194
Elie Morisse changed:
What|Removed |Added
CC||syniu...@gmail.com