Jump to page: 1 2
Thread overview
[Issue 18646] Recursive template expansion incorrectly reported for certain templated classes
Mar 22, 2018
Ontonator
Mar 22, 2018
Ontonator
Dec 17, 2022
Iain Buclaw
Dec 27, 2022
Iain Buclaw
Dec 27, 2022
Iain Buclaw
Dec 27, 2022
Iain Buclaw
Dec 27, 2022
Iain Buclaw
[Issue 18646] [REG 2.079.0] Recursive template expansion incorrectly reported
Dec 27, 2022
Iain Buclaw
Dec 27, 2022
Dlang Bot
Dec 28, 2022
Dlang Bot
Jan 01, 2023
Dlang Bot
March 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18646

Ontonator <publicnator@gmail.com> changed:

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

--
March 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18646

--- Comment #1 from Ontonator <publicnator@gmail.com> ---
It also should be noted that the aliases don't have to be aliases. Any reference to the class works (e.g. variable with type, method with parameter or return type, etc.).

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

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

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ben.schaaf@gmail.com

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 19585 has been marked as a duplicate of this issue. ***

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tim.dlang@t-online.de

--- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 22813 has been marked as a duplicate of this issue. ***

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           Priority|P3                          |P1
                 CC|                            |ibuclaw@gdcproject.org
           Hardware|x86_64                      |All
                 OS|Mac OS X                    |All
           Severity|normal                      |regression

--- Comment #4 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Extra testcase:
---
struct A {
    M2 stdin;
}

mixin template Handle(T, T invalid_value = T.init) {}

struct M1 { mixin Handle!(size_t); }
struct M2 { mixin Handle!(M1); }

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

--- Comment #5 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Extra testcase
---
struct Template(int i) { }
uint f()
{
    Template!(1) x;
    return 0;
}
immutable constant = f();
alias X = Template!constant;

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Recursive template          |[REG 2.079.0] Recursive
                   |expansion incorrectly       |template expansion
                   |reported for certain        |incorrectly reported
                   |templated classes           |

--- Comment #6 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Introduced by https://github.com/dlang/dmd/pull/7702

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

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

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

--- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #14745 "fix Issue 18646 - [REG 2.079.0] Recursive template expansion incorrectly reported" fixing this issue:

- fix Issue 18646 - [REG 2.079.0] Recursive template expansion incorrectly reported

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

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

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

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

--- Comment #8 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14745 "fix Issue 18646 - [REG 2.079.0] Recursive template expansion incorrectly reported" was merged into stable:

- 291b60e93ed60e76c8501398b3126ef423c68291 by Iain Buclaw:
  fix Issue 18646 - [REG 2.079.0] Recursive template expansion incorrectly
reported

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

--
« First   ‹ Prev
1 2