Skip to content

Ctrl+click moves to the wrong implementation if there are two functions with the same name #22011

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

Closed
RaniSharim opened this issue Mar 5, 2017 · 1 comment
Assignees
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@RaniSharim
Copy link

  • VSCode Version: 1.10.1
  • OS Version: windows 10

Steps to Reproduce:

  1. Create two files with the following code:
    function a() {
    b();
    }

function b() {

}

  1. Open both of them in tabs and select the "first" (leftmost) tab

  2. Ctrl+click the "b()" line in the first file

  3. It show the implementation int the second file.

ezgif com-video-to-gif

@mjbvz mjbvz added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Mar 6, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Mar 6, 2017

Thanks for the report. This looks like another manifestation of microsoft/TypeScript#14279

Closing as upstream

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants