Thread overview
[Issue 19476] explicit mixin template function call results in recursive call instead
Apr 09, 2019
Mike Franklin
Nov 16, 2019
Basile-z
Nov 16, 2019
Basile-z
Dec 18, 2019
Walter Bright
Mar 21, 2020
Basile-z
Aug 23, 2020
Dlang Bot
Aug 24, 2020
Dlang Bot
April 09, 2019
https://issues.dlang.org/show_bug.cgi?id=19476

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slavo5150@yahoo.com
           Severity|normal                      |regression

--- Comment #1 from Mike Franklin <slavo5150@yahoo.com> ---
According to https://run.dlang.io/is/s54vvI this may be a regression introduced in 2.063.

--
November 16, 2019
https://issues.dlang.org/show_bug.cgi?id=19476

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |b2.temp@gmx.com

--- Comment #2 from Basile-z <b2.temp@gmx.com> ---
this even crashes the compiler now

--
November 16, 2019
https://issues.dlang.org/show_bug.cgi?id=19476

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice                         |

--- Comment #3 from Basile-z <b2.temp@gmx.com> ---
it's the program

--
December 18, 2019
https://issues.dlang.org/show_bug.cgi?id=19476

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> ---
A somewhat simpler example:

mixin template operators() {
    int foo(int op = 1, T)(T rhs) {
        return 1;
    }
}

struct S {
    mixin operators ops;
    int foo(int op = 1, T)(T a) {
        return ops.foo!1(a);
    }
}

void main() {
    S.init.foo(S.init);
}

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=19476

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--
June 05, 2020
https://issues.dlang.org/show_bug.cgi?id=19476

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #5 from moonlightsentinel@disroot.org ---
Digger:
commit b10683946e47b9f5f03270047a7dfa18d28fd58d
Author: Walter Bright <walter@walterbright.com>
Date:   Mon May 6 00:39:32 2013 -0700

dmd: Merge pull request #1930 from 9rnsr/new_ufcs

https://github.com/dlang/dmd/pull/1930

Implement proper UFCS name look up

--
August 23, 2020
https://issues.dlang.org/show_bug.cgi?id=19476

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
@BorisCarvajal created dlang/dmd pull request #11611 "Fix Issue 19476 - explicit mixin template function call results in re…" fixing this issue:

- Fix Issue 19476 - explicit mixin template function call results in recursive call instead

https://github.com/dlang/dmd/pull/11611

--
August 24, 2020
https://issues.dlang.org/show_bug.cgi?id=19476

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11611 "Fix Issue 19476 - explicit mixin template function call results in re…" was merged into stable:

- 18cb9fd23f369376b911a2caf3152744d93a3350 by Boris Carvajal:
  Fix Issue 19476 - explicit mixin template function call results in recursive
call instead

https://github.com/dlang/dmd/pull/11611

--