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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 24 02:06:30 UTC 2022


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13877 "Fix 22915 - Print the type of invalid foreach
aggregates" was merged into master:

- 979cdf592005473c7fbfe3b2b10925066fd3ffd7 by MoonlightSentinel:
  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