Skip to content

Division operator parse error pattern #605

Closed

Description

@elasmojs

Hi

The following code snippet causes a parse error

function radToDeg(rad) {
  return rad / (Math.PI / 180); //parse error here
};

Activity

  1. added
    A-Bug
    on Aug 7, 2020
  2. HalidOdat commented on Aug 7, 2020

    @HalidOdat
    Member

    Hi @elasmojs , thanks for reporting this issue

    This is a bug related to the lexer, that has been fixed in the new_lexer branch :)

  3. linked a pull request that will close this issueNew lexer #559on Aug 7, 2020
  4. elasmojs commented on Aug 7, 2020

    @elasmojs
    ContributorAuthor

    @HalidOdat Thank you for the quick response :)

  5. added this to the v0.10.0 milestone on Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-Bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions