Skip to content

Repeated definition found when attaching to module.exports #80678

@conradkoh

Description

@conradkoh
  • VSCode Version: 1.38.0
  • OS Version: macOS Mojave 10.14.6

Steps to Reproduce:

  1. Create a new file with the following code
module.exports.test = async () => {
    return 123;
}

module.exports.test();
  1. Cmd + Click on the usage of function
  2. Panel shows up with 2 definitions, although the references to the definitions are for the same file at the same line

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions