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

fix(ecma/parser): regexp parsing #6469

Merged
merged 10 commits into from Nov 18, 2022

Conversation

alexander-akait
Copy link
Collaborator

Description:

Fix regexp parsing

BREAKING CHANGE:

Potential yes due new method

Related issue (if exists):

fixes #6322
fixes #6323

@kdy1 kdy1 self-assigned this Nov 18, 2022
@kdy1 kdy1 added this to the Planned milestone Nov 18, 2022
@kdy1 kdy1 marked this pull request as draft November 18, 2022 02:05
@@ -1,6 +1,6 @@

x Unexpected eof
x Unterminated regexp literal
,-[$DIR/tests/test262-parser/fail/095bea002b10b8e1.js:1:1]
1 | foo[/42
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better error

@alexander-akait alexander-akait marked this pull request as ready for review November 18, 2022 05:10
@alexander-akait
Copy link
Collaborator Author

@kdy1 Ready for review

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

swc-bump:

  • swc_ecma_parser

@kdy1 kdy1 enabled auto-merge (squash) November 18, 2022 06:22
@kdy1 kdy1 disabled auto-merge November 18, 2022 06:22
@kdy1 kdy1 enabled auto-merge (squash) November 18, 2022 06:22
Copy link
Collaborator

@swc-bot swc-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review comment generated by auto-rebase script

@kdy1 kdy1 merged commit 3e702b9 into swc-project:main Nov 18, 2022
kdy1 added a commit to kdy1/swc that referenced this pull request Nov 19, 2022
@kdy1 kdy1 modified the milestones: Planned, v1.3.19 Nov 20, 2022
@alexander-akait alexander-akait deleted the fix-parsing-regexp branch November 20, 2022 13:06
@swc-project swc-project locked as resolved and limited conversation to collaborators Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Division of an object after < [Bug]: Division of an object in for-loop condition
3 participants