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

--- Comment #3 from Iain Buclaw <[email protected]> ---
(In reply to Walter Bright from comment #2)
> Because ( ) are not seen by the semantic code, the best solution is for the
> parser to turn (i)*2 into a cast expression. Then, if the semantic pass
> determines that i is a variable, rewrite the cast expression into a multiply.
> 
> Do the analogous thing for -, +, and & operators.
Yes, this is what I have in the pipeline already.

--

Reply via email to