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

Allow let name in for-in loop in non-strict mode #2915

Merged
merged 1 commit into from
May 8, 2023

Conversation

HalidOdat
Copy link
Member

@HalidOdat HalidOdat added bug Something isn't working parser Issues surrounding the parser labels May 8, 2023
@HalidOdat HalidOdat added this to the v0.17.0 milestone May 8, 2023
@HalidOdat HalidOdat requested a review from a team May 8, 2023 16:42
@github-actions
Copy link

github-actions bot commented May 8, 2023

Test262 conformance changes

Test result main count PR count difference
Total 94,657 94,657 0
Passed 73,887 73,888 +1
Ignored 17,505 17,505 0
Failed 3,265 3,264 -1
Panics 0 0 0
Conformance 78.06% 78.06% +0.00%
Fixed tests (1):
test/language/statements/for-in/identifier-let-allowed-as-lefthandside-expression-not-strict.js (previously Failed)

@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Merging #2915 (410d990) into main (7605453) will increase coverage by 0.00%.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##             main    #2915   +/-   ##
=======================================
  Coverage   51.96%   51.96%           
=======================================
  Files         431      431           
  Lines       43657    43666    +9     
=======================================
+ Hits        22686    22691    +5     
- Misses      20971    20975    +4     
Impacted Files Coverage Δ
...er/src/parser/statement/iteration/for_statement.rs 56.93% <66.66%> (+0.43%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Member

@Razican Razican left a comment

Choose a reason for hiding this comment

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

Good one!

@jedel1043 jedel1043 added this pull request to the merge queue May 8, 2023
Merged via the queue into main with commit 128c137 May 8, 2023
@jedel1043 jedel1043 deleted the fix/allow-let-for-in-loop branch May 8, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser Issues surrounding the parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants