aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion
diff options
context:
space:
mode:
authorGeoffry Song <[email protected]>2019-10-03 08:10:58 +0100
committerGeoffry Song <[email protected]>2019-10-03 08:27:09 +0100
commitb63f260bbcf89a2b40358f534b97f672468294fb (patch)
tree9a21ac5bc76e828025c9dd66b01ea1e27bd38d50 /crates/ra_ide_api/src/completion
parente1c367595139f109fb6f53811bed7d67a384793e (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_ide_api/src/completion')
0 files changed, 0 insertions, 0 deletions