Thread overview
[Issue 7352] Poor error message when using variable as template type parameter
Nov 03, 2019
Basile-z
Mar 21, 2020
Basile-z
Mar 19, 2021
Dlang Bot
Mar 21, 2021
Dlang Bot
Dec 27, 2021
wolframw
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=7352

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|D1 & D2                     |D2

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

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

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

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
When no constraint is present indeed this could be an additional error message. There's an helper for that in the compiler.

When there's a constraint this possibly new message should not be added since there's work to format them prettier.

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

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

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

--
March 19, 2021
https://issues.dlang.org/show_bug.cgi?id=7352

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@wolframw created dlang/dmd pull request #12289 "Issue 7352 - Poor error message when using variable as template type parameter" mentioning this issue:

- Issue 7352 - Poor error message when using variable as template type parameter

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12289 "Fix Issue 7352 - Poor error message when using variable as template type parameter" was merged into master:

- 07a0fa610f90777ae52fd90332527e053586c1ce by wolframw:
  Issue 7352 - Poor error message when using variable as template type
parameter

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

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

wolframw <wolframw@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |wolframw@protonmail.com
         Resolution|---                         |FIXED

--