[Issue 22915] Errors for invalid foreach aggregates should print the type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 23 17:26:59 UTC 2022


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13877 "Fix 22915 - Print the
type of invalid foreach aggregates" fixing this issue:

- Fix 22915 - Print the type of invalid foreach aggregates

  Mentioning the type alongside the expressions is helpful when the
  error isn't obvious, e.g. when the code didn't derefence a pointer.

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

--


More information about the Digitalmars-d-bugs mailing list