You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getDocumentHighlights marks both references of resolve as the same if the modules 'url' and 'path' can't be found. However, if 'url' and 'path' can be found, it correctly differentiates between the two.
I know this is somewhat of an edge-case, but is this intended behavior? Or is it a bug?
The text was updated successfully, but these errors were encountered:
they both given the same symbol (unknownSymbol), the find all references code will think they are because they also have the same name. we could exclude the unknownSymbol from this logic. but would not say it is a priority.
Thanks for checking; I bisected and this was fixed in e8c3d54, but it's not clear to me that this actually has a test and it'd be nice to have one via a fourslash baseline or something.
If you have code like the following:
getDocumentHighlights
marks both references ofresolve
as the same if the modules 'url' and 'path' can't be found. However, if 'url' and 'path' can be found, it correctly differentiates between the two.I know this is somewhat of an edge-case, but is this intended behavior? Or is it a bug?
The text was updated successfully, but these errors were encountered: