-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@link and @see resolve C.m as a class property reference #43625
Conversation
The test is pretty good, the scribbles are actually cleanup from last PR, although they break some tests.
Turns out that you can't reuse check* functions if you want to retrieve all meanings of a reference.
@mjbvz You were interested in this. |
tests/baselines/reference/findAllReferencesLinkTag1.baseline.jsonc
Outdated
Show resolved
Hide resolved
// } | ||
// | ||
// interface I { | ||
// [|a|]/*FIND ALL REFS*/() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one, and the one on b
, also have no results apart from themselves. Couldn’t tell for sure whether that was expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just lazy and omitted the tests that should start passing in this PR. I added some references that will pass with this PR.
This does not match real TS references, but is extremely common. It also matches the lookup that will have to happen for
C#m
, but doesn't require any new parsing.Fixes #43383 but not #43594 or #43595