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

--- Comment #2 from Walter Bright <[email protected]> ---
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.

--

Reply via email to