Skip to content

Conversation

@CompuIves
Copy link
Member

@CompuIves CompuIves commented Jul 14, 2020

Our esmodule converter printed an ast of:

c = (10.0, + +(15))

to

c = (10.0, ++(15))

which is wrong, this fixes it.

Fixes #4476

Also opened a PR here to fix upstream: davidbonnet/astring#315.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f1c6ed0:

Sandbox Source
Notifications Test Configuration
h3-js-error Issue #4476

@lbogdan
Copy link
Contributor

lbogdan commented Jul 14, 2020

Build for latest commit f1c6ed0 is at https://pr4551.build.csb.dev/s/new.

@CompuIves CompuIves merged commit 3667817 into master Jul 14, 2020
@CompuIves CompuIves deleted the fix/print-unary branch July 14, 2020 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid left-hand side expression in prefix operation

3 participants