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

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

Description

@brianneisler

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) => {
  ...
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions