[Issue 23417] Confusing error message when assigning non-existent struct field to the same name global variable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 15 22:15:24 UTC 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Hardware|x86_64                      |All
                 OS|Windows                     |All
           Severity|normal                      |regression

--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
The diagnostic that's output is actually the failed UFCS attempt on `bar`. You
get the same error message with `bar(f)` for example.

--


More information about the Digitalmars-d-bugs mailing list