-
-
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
Implementation of instanceof
operator
#908
Conversation
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! this PR needs a rebase, and we should also add some tests :)
Codecov Report
@@ Coverage Diff @@
## master #908 +/- ##
==========================================
+ Coverage 59.18% 59.19% +0.01%
==========================================
Files 166 166
Lines 10515 10545 +30
==========================================
+ Hits 6223 6242 +19
- Misses 4292 4303 +11
Continue to review full report at Codecov.
|
@HalidOdat could you please explain how to resolve the remaining failing checks? Thank you. |
It seems that this requires running |
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.
I added some suggestions on new lines at the end of files. This should be added by any editor that takes the editorconfig into account, but it seems it didn't happen in this case.
I ran The only failed check that remains is code coverage, how could I address that? Thank you. |
Thanks! That one is ready now :)
We are currently debating about "patch" coverage failures. We will merge it anyways if that's the only issue. |
Latest rebase seems to have fixed everything, even somehow improved the code coverage - I believe this is ready for merge. With that being said, I had to rebase twice, because running |
This might be related to rust-lang/rust-clippy#4612 |
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, thanks!
Test262 conformance changes:
Test result | master count | PR count | difference |
---|---|---|---|
Total | 78,415 | 78,415 | 0 |
Passed | 18,461 | 18,945 | +484 |
Ignored | 15,547 | 15,547 | 0 |
Failed | 44,407 | 43,923 | -484 |
Panics | 1,129 | 1,127 | -2 |
Conformance | 23.54 | 24.16 | +0.62% |
get_method()
andordinary_has_instance()
forGcObject
instanceof
operatorThis Pull Request fixes/closes #796.