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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 1 11:39:50 UTC 2022


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

--- Comment #8 from Dlang Bot <dlang-bot at dlang.rocks> ---
@WalterBright updated dlang/dmd pull request #14049 "fix Issue 23057 - importC:
dmd segfault on invalid syntax" 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/14049

--


More information about the Digitalmars-d-bugs mailing list