bors[bot] 202ad1e2d9
Merge #2552
2552: fix goto definition when inbetween tokens r=matklad a=succcubbus

fixes both goto_definition and goto_type_definition.
before, when running goto between some non-trivia token and an
identifier, goto would be attempted for the non-trivia token.
but this does not make sense for e.g. L_PAREN or COLONCOLON only for
IDENTs.

this resulted in goto actions not working when running them on the first
character of some identifier e.g. for `module::<|>method()` or
`method(<|>parameter)`.

now only IDENTs will be searched for in goto actions, though i'm not sure
if this is correct or if goto should also work for some other token types.  

Co-authored-by: succcubbus <16743652+succcubbus@users.noreply.github.com>
2019-12-14 17:20:18 +00:00
..
2019-12-13 18:28:01 -05:00
2019-12-13 18:16:34 +08:00
2019-12-08 12:44:14 +01:00
2019-12-13 22:33:38 +01:00
2019-12-13 22:33:38 +01:00
2019-12-13 22:33:38 +01:00
2019-12-13 22:33:38 +01:00
2019-12-14 11:57:49 +00:00
2019-12-13 21:53:34 +08:00
2019-11-25 17:50:49 +03:00
2019-12-12 14:11:06 +01:00
2019-12-13 21:53:34 +08:00
2019-12-07 13:19:42 +01:00