[Issue 22070] importC: Error: string/array literal is not an lvalue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 26 16:36:11 UTC 2022


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

--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Yoplitein created dlang/dmd pull request #14028 "Expand fix for issue 22070 to
also allow array literals as lvalues" mentioning this issue:

- Expand fix for issue 22070 to also allow array literals as lvalues

  Check for and restrict nested address-of expressions on literals, such as
`&(&"")`

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

--


More information about the Digitalmars-d-bugs mailing list