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

Scientific numeric literals take priority over access #1579

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

edemaine
Copy link
Collaborator

@edemaine edemaine commented Nov 5, 2024

Fix the equivalent of jashkenas/coffeescript#5469 by giving priority to 1.e1 as a number, not an access ((1).e1), as suggested by @STRd6.

Improves JavaScript compatibility.

Technically this is a breaking change, but it's also reasonably a bug fix.

@edemaine edemaine merged commit c8f2e41 into main Nov 5, 2024
4 checks passed
@edemaine edemaine deleted the num-exp branch November 5, 2024 16:56
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.

2 participants