Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Hovering over argument with same name as outer variable produces nothing #34

Closed
mousetraps opened this issue Sep 27, 2016 · 1 comment
Closed

Comments

@mousetraps
Copy link

Testing microsoft/vscode#12600

Using the following code and a breakpoint at the location specified location

var screenName = 'hello';

setTimeout(function() {
    console.log('done');
    a(screenName);

    process.exit();
},1000)

function a(screenName) {
    console.log(screenName); // SET BREAKPOINT HERE
}

hovering over screenName at this position should produce the string "hello", instead, no hover appears. Changing the name of the argument resolves the issue.

@mousetraps mousetraps changed the title Hovering over variable Hovering over argument with same name as outer variable produces nothing Sep 27, 2016
@roblourens
Copy link
Member

This issue was moved to microsoft/vscode#12952

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants