[Issue 22067] importC: cast-expression accepted as lvalue in assignment-expression
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 22 18:05:28 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22067
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Actually, the list of valid lvalues in C is so simple, we can do a first pass
in the parser without having to go through semantic.
- CompoundLiteralExp
- StringExp
- PtrExp
- ArrayExp
- IdentifierExp
- DotIdExp (if e1 is an lvalue)
--
More information about the Digitalmars-d-bugs
mailing list