rust-analyzer/crates/ra_syntax/test_data/parser/inline
bors[bot] d9338dfa98
Merge #1951
1951: Lower the precedence of the `as` operator. r=matklad a=goffrie

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.

Fixes #1851.

Co-authored-by: Geoffry Song <goffrie@gmail.com>
2019-10-08 08:44:26 +00:00
..
err Parse correct AttrInput 2019-09-30 16:11:40 +08:00
ok Merge #1951 2019-10-08 08:44:26 +00:00