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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 9 00:51:27 UTC 2022


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

--- Comment #10 from Dlang Bot <dlang-bot at dlang.rocks> ---
@WalterBright updated dlang/dmd pull request #14044 "fix Issue 23058 - importC:
cannot take address inside multi-dimension…" 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/14044

--


More information about the Digitalmars-d-bugs mailing list