[Issue 23416] Difference DMD/GDC: Error: non-constant expression `& foo`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 15 00:33:30 UTC 2022


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
LDC also errors:

dmd-gdc-difference.d(4): Error: need `this` to access `foo`
Compiler returned: 1

--


More information about the Digitalmars-d-bugs mailing list