rust/crates/ra_syntax
Florian Diebold 85633656df Fix hover on the beginning of a nested expression
E.g. in
```
let foo = 1u32;
if true {
   <|>foo;
}
```
the hover shows `()`, the type of the whole if expression, instead of the more
sensible `u32`. The reason for this was that the search for an expression was
slightly left-biased: When on the edge between two tokens, it first looked at
all ancestors of the left token and then of the right token. Instead merge the
ancestors in ascending order, so that we get the smaller of the two possible
expressions.
2019-04-28 16:03:49 +02:00
..
fuzz Add fuzz test for reparsing 2019-03-22 08:04:48 +09:00
src Fix hover on the beginning of a nested expression 2019-04-28 16:03:49 +02:00
tests Add ... parsing for fn pointer type 2019-04-23 11:10:41 +08:00
Cargo.toml migrate to untyped rowan 2019-04-09 10:26:51 +03:00