If you have code like the following:
import { resolve as resolveUrl } from 'url';
import { resolve } from 'path';
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?