-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
[Merged by Bors] - Bugfix/new.target is not understood by the parser as an expression #2793 #2878
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2878 +/- ##
==========================================
+ Coverage 51.22% 51.23% +0.01%
==========================================
Files 427 427
Lines 42516 42518 +2
==========================================
+ Hits 21779 21786 +7
+ Misses 20737 20732 -5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for the contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! 😄 Thanks for the contribution!
bors r+ |
(#2878) <!--- Thank you for contributing to Boa! Please fill out the template below, and remove or add any information as you feel necessary. ---> This Pull Request fixes/closes #2793. It changes the following: - Added a condition to the boa_parser/src/parser/expression/left_hand_side/member.rs parse function match operation for the new token that allows for the operation to continue evaluating more tokens when the TARGET keyword follows it. - Added a test to validate the fix. (Could not figure out the structure of the test suite so it's commented for now). All other tests pass. Please let me know if there's anything else I can do to improve the fix. Co-authored-by: jedel1043 <jedel0124@gmail.com>
Pull request successfully merged into main. Build succeeded: |
This Pull Request fixes/closes #2793.
It changes the following:
Please let me know if there's anything else I can do to improve the fix.