Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Default value in js function prevents definition from being found #97

Open
brianneisler opened this issue Dec 11, 2017 · 0 comments
Open

Comments

@brianneisler
Copy link

I have a function definition like so

const myFunc = (foo, bar = process.cwd()) => {
  ...
}

When using the hyperclick functionality from another file, clicking on a use of myFunc does not find a definition.

If I remove the default value for the bar parameter, it will correctly find the definition.

const myFunc = (foo, bar) => {
  ...
}
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

1 participant