Thread overview
[Issue 13283] dmd fails to generate ambiguous overload error
Aug 11, 2014
Vlad Levenfeld
Feb 07, 2019
Nick Treleaven
Aug 25, 2022
RazvanN
August 11, 2014
https://issues.dlang.org/show_bug.cgi?id=13283

Vlad Levenfeld <vlevenfeld@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vlevenfeld@gmail.com

--
February 07, 2019
https://issues.dlang.org/show_bug.cgi?id=13283

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #1 from Nick Treleaven <nick@geany.org> ---
It's not clear what the original code and the problem with the linker was. Just to check, without the constraint, this code is fine:

struct S{
  this (Elements...)(Elements elements){...}
  this (Element element){...}
}

S s = S(Element.init);

The above call matches this(Element), the constructor template is less
specialized.

--
August 25, 2022
https://issues.dlang.org/show_bug.cgi?id=13283

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |MOVED

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
This bug report contains insufficient information to see what the issue is. As such I will close this as MOVED, but if new information arises, feel free to reopen.

--