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

Functions containing GREATER_THAN are parsed incorrectly #5

@eush77

Description

@eush77
> parseFunction(function (a, b) { return a > b })
{ name: 'anonymous',
  body: ' ',
  params: 'unction (a, b) { return ',
  args: [ 'unction (a', 'b) { return ' ] }

Functions that contain > character are loosely considered arrow functions in walk, and later in build function params and args properties are computed incorrectly because of that. I'm not sure how you would fix that.

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