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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 22 07:47:26 UTC 2022


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

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

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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #14465 "fix 23355: invalid template parameter loses
error location in some cases (T[UndefinedIdentifier] has no error loc)" was
merged into master:

- bbd03ee16ad8c46897ce74044148e02b562c0ee9 by WebFreak001:
  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.

  Co-authored-by: mhh <maxhaton at gmail.com>

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

--


More information about the Digitalmars-d-bugs mailing list