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

Implement logical assignment operators (&&= and ||=) #1018

Merged
merged 2 commits into from Jan 1, 2021
Merged

Implement logical assignment operators (&&= and ||=) #1018

merged 2 commits into from Jan 1, 2021

Conversation

tofpie
Copy link
Contributor

@tofpie tofpie commented Jan 1, 2021

This Pull Request implements logical assignment operators (&&= and ||=).

It changes the following:

  • Lexing of &&= and ||=
  • Execution of &&= and ||=

@codecov
Copy link

codecov bot commented Jan 1, 2021

Codecov Report

Merging #1018 (a8ef20e) into master (4625c1a) will decrease coverage by 0.04%.
The diff coverage is 37.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1018      +/-   ##
==========================================
- Coverage   60.10%   60.05%   -0.05%     
==========================================
  Files         167      167              
  Lines       11142    11156      +14     
==========================================
+ Hits         6697     6700       +3     
- Misses       4445     4456      +11     
Impacted Files Coverage Δ
boa/src/syntax/ast/op.rs 10.75% <0.00%> (-0.24%) ⬇️
boa/src/syntax/ast/punctuator.rs 5.76% <0.00%> (-0.24%) ⬇️
boa/src/syntax/ast/node/operator/bin_op/mod.rs 66.66% <50.00%> (-1.84%) ⬇️
boa/src/syntax/lexer/operator.rs 70.17% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4625c1a...a8ef20e. Read the comment docs.

@Razican Razican added the enhancement New feature or request label Jan 1, 2021
@Razican Razican added this to the v0.11.0 milestone Jan 1, 2021
@Razican
Copy link
Member

Razican commented Jan 1, 2021

Test262 conformance changes:

Test result master count PR count difference
Total 78,493 78,493 0
Passed 20,882 20,892 +10
Ignored 15,585 15,585 0
Failed 42,026 42,016 -10
Panics 388 388 0
Conformance 26.60 26.62 +0.01%

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.

Looks good, thanks!

@Razican Razican merged commit 0331f48 into boa-dev:master Jan 1, 2021
@tofpie tofpie deleted the logical-assign branch January 1, 2021 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants