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

Add test for asi between get/set field and generator #4189

Merged

Conversation

nicolo-ribaudo
Copy link
Member

Currently both SpiderMonkey and TypeScript fail parsing this code. V8, Babel and ESLint all pass the test.

@nicolo-ribaudo nicolo-ribaudo requested a review from a team as a code owner August 7, 2024 16:01
@nicolo-ribaudo nicolo-ribaudo force-pushed the field-get-followed-by-generator-asi branch 3 times, most recently from cc87cdf to e72230d Compare August 7, 2024 16:03
@JLHwung
Copy link
Contributor

JLHwung commented Aug 7, 2024

Could you also add a set ASI test?

@nicolo-ribaudo
Copy link
Member Author

Test case with set added

@nicolo-ribaudo
Copy link
Member Author

cc @anba for a review since you fixed this in SM :)

Copy link
Contributor

@anba anba left a comment

Choose a reason for hiding this comment

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

LGTM with the copy-paste error fixed.

@Ms2ger Ms2ger changed the title Add test for asi between get field and generator Add test for asi between get/set field and generator Sep 2, 2024
nicolo-ribaudo and others added 4 commits September 2, 2024 17:35
Co-authored-by: Linus Groh <mail@linusgroh.de>
…ield-named-set-followed-by-generator-asi.js

Co-authored-by: André Bargull <andre.bargull@gmail.com>
@Ms2ger Ms2ger force-pushed the field-get-followed-by-generator-asi branch from 05836fc to 2498057 Compare September 2, 2024 15:35
@Ms2ger Ms2ger enabled auto-merge (squash) September 2, 2024 15:36
@Ms2ger Ms2ger merged commit d012a4d into tc39:main Sep 2, 2024
8 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the field-get-followed-by-generator-asi branch September 2, 2024 16:05
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.

5 participants