Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Division operator parse error pattern #605

Closed
elasmojs opened this issue Aug 7, 2020 · 2 comments · Fixed by #559
Closed

Division operator parse error pattern #605

elasmojs opened this issue Aug 7, 2020 · 2 comments · Fixed by #559
Assignees
Labels
bug Something isn't working lexer Issues surrounding the lexer
Milestone

Comments

@elasmojs
Copy link
Contributor

elasmojs commented Aug 7, 2020

Hi

The following code snippet causes a parse error

function radToDeg(rad) {
  return rad / (Math.PI / 180); //parse error here
};
@elasmojs elasmojs added the bug Something isn't working label Aug 7, 2020
@HalidOdat HalidOdat added the lexer Issues surrounding the lexer label Aug 7, 2020
@HalidOdat
Copy link
Member

HalidOdat commented Aug 7, 2020

Hi @elasmojs , thanks for reporting this issue

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

@HalidOdat HalidOdat linked a pull request Aug 7, 2020 that will close this issue
@elasmojs
Copy link
Contributor Author

elasmojs commented Aug 7, 2020

@HalidOdat Thank you for the quick response :)

@Razican Razican added this to the v0.10.0 milestone Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lexer Issues surrounding the lexer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants