Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Position of Identifiers sometimes covers other tokens #53

@dennwc

Description

@dennwc

There are some cases where positional information in identifiers covers the whole parameter declaration.

Here is one of the failing cases:
https://github.com/bblfsh/javascript-driver/blob/master/fixtures/ext_typedecl.js#L9

const packageToBabelConfig = makeWeakCache(
  (file: ConfigFile): ConfigFile | null => {

In the AST positional info of the file identifier covers file: ConfigFile for some reason. See TODO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions