Thread overview
[Issue 19080] Order of overloads affects the chosen method
Jul 12, 2018
RazvanN
Dec 17, 2022
Iain Buclaw
July 12, 2018
https://issues.dlang.org/show_bug.cgi?id=19080

--- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> ---
(In reply to RazvanN from comment #0)
> //a.d
> struct Foo
> {
>     private void fun(A)(A a) {}
>     void fun(int a) {}
> }
> 
> struct Bar
> {
>     void fun(int a) {}
>     private void fun(A)(A a) {}
> }
> 
> // b.d
I forgot add here: import a.d
> void main()
> {
>     Foo a;
>     a.fun(42);      // deprecation: a.Foo.fun is no visible
>     Bar b;
>     b.fun(42);      // ok
> }
> 
> Expectation : no deprecation at all

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19080

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
February 11
https://issues.dlang.org/show_bug.cgi?id=19080

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Pretty sure this is a duplicate of issue 3254

--
February 11
https://issues.dlang.org/show_bug.cgi?id=19080

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> ---


*** This issue has been marked as a duplicate of issue 3254 ***

--