diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-14 17:20:18 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-14 17:20:18 +0000 |
commit | 202ad1e2d9376565cb273cf085be600ed10e5a93 (patch) | |
tree | 21ef288f183f39468147972aef88617411a3fdec /docs/user | |
parent | 77db6177658b32f69ad7ebfdef96c1b3b2893fdd (diff) | |
parent | c82529a97f10b1302d2944f1946bcb3479f64e2d (diff) |
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 <[email protected]>
Diffstat (limited to 'docs/user')
0 files changed, 0 insertions, 0 deletions