diff options
author | Geoffry Song <[email protected]> | 2019-10-03 08:10:58 +0100 |
---|---|---|
committer | Geoffry Song <[email protected]> | 2019-10-03 08:27:09 +0100 |
commit | b63f260bbcf89a2b40358f534b97f672468294fb (patch) | |
tree | 9a21ac5bc76e828025c9dd66b01ea1e27bd38d50 /crates/ra_syntax/src/validation/block.rs | |
parent | e1c367595139f109fb6f53811bed7d67a384793e (diff) |
Lower the precedence of the `as` operator.
Previously, the `as` operator was being parsed like a postfix expression, and
therefore being given the highest possible precedence. That caused it to bind
more tightly than prefix operators, which it should not. Instead, parse it
somewhat like a normal binary expression with some special-casing.
Diffstat (limited to 'crates/ra_syntax/src/validation/block.rs')
0 files changed, 0 insertions, 0 deletions