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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 27 06:02:50 UTC 2022


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

--- Comment #7 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #14028 "Expand fix for issue 22070 to also allow array
literals as lvalues" was merged into master:

- 95f218d081b0695836f901b62f0b16bb68107449 by Steven Dwy:
  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