-
-
Notifications
You must be signed in to change notification settings - Fork 402
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] - Implement get RegExp.prototype.hasIndices
#2031
Conversation
Test262 conformance changesVM implementation
Fixed tests (26):
|
Codecov Report
@@ Coverage Diff @@
## main #2031 +/- ##
==========================================
+ Coverage 43.92% 43.93% +0.01%
==========================================
Files 211 211
Lines 18693 18701 +8
==========================================
+ Hits 8211 8217 +6
- Misses 10482 10484 +2
Continue to review full report at Codecov.
|
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.
Nice!
Benchmark for aeb88e3Click to view benchmark
|
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.
The new flag is missing from ToString for RegExpFlags
at in boa_engine/src/syntax/lexer/regex.rs.
That should make the missing tests pass.
For example /./d.hasIndices
currently returns false
.
7c52f37
to
a1f328c
Compare
Benchmark for cbebbc7Click to view benchmark
|
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 good to me :)
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.
bors r+
Pull request successfully merged into main. Build succeeded: |
get RegExp.prototype.hasIndices
get RegExp.prototype.hasIndices
It changes the following:
get RegExp.prototype.hasIndices
get RegExp.prototype.flags
to currect specRegExpFlags