[Issue 23355] invalid template parameter loses error location in some cases

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 21 21:27:41 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23355

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@WebFreak001 updated dlang/dmd pull request #14465 "fix 23355: invalid template
parameter loses error location in some cases (T[UndefinedIdentifier] has no
error loc)" fixing this issue:

- fix 23355: T[UndefinedIdentifier] has no error loc

  Types (e.g. TypeAArray) don't have a location attached to them, so
  instead of trying to use that we instead
  use the error location from the general template parameters.

- add test for issue 23355

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

--


More information about the Digitalmars-d-bugs mailing list