https://issues.dlang.org/show_bug.cgi?id=15571

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Compiles fine when Node is not in a unittest (or other kind of function):

----
template Wrapper(T) {
  struct Wrapper {
    private T[] _holder;
    this(this) {
      _holder = _holder.dup;
    }
  }
}

struct Node {
  Wrapper!Node next;
}
----

--

Reply via email to