-
-
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 Number.parseInt
and Number.parseFloat
#1894
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HalidOdat
added
bug
Something isn't working
enhancement
New feature or request
builtins
PRs and Issues related to builtins/intrinsics
labels
Mar 4, 2022
HalidOdat
requested review from
raskad,
jasonwilliams,
jedel1043,
RageKnify and
Razican
March 4, 2022 14:03
Test262 conformance changesVM implementation
Fixed tests (8):
|
Codecov Report
@@ Coverage Diff @@
## main #1894 +/- ##
=======================================
Coverage 46.57% 46.58%
=======================================
Files 206 206
Lines 16776 16781 +5
=======================================
+ Hits 7814 7818 +4
- Misses 8962 8963 +1
Continue to review full report at Codecov.
|
HalidOdat
force-pushed
the
fix/global-parse-functions
branch
from
March 4, 2022 14:18
937b01a
to
135d4f7
Compare
Benchmark for 8034847Click to view benchmark
|
- Fix length of `AggregateError()` - Fix length of `Reflect.setPrototypeOf()`
HalidOdat
force-pushed
the
fix/global-parse-functions
branch
from
March 4, 2022 14:41
135d4f7
to
a611fdd
Compare
Benchmark for 857fb98Click to view benchmark
|
Benchmark for 8d4ae8fClick to view benchmark
|
raskad
approved these changes
Mar 4, 2022
jedel1043
approved these changes
Mar 4, 2022
bors r+ |
bors bot
pushed a commit
that referenced
this pull request
Mar 4, 2022
This PR add `Number.parseInt` and `Number.parseFloat` which according to spec are clones of the global objects `parseInt` and `parseFloat`. It also fixes the last failing test of the `NativeError` feature with this we get 100% spec complaint `NativeError`s 🎉 It changes the following: - Add `Number.parseInt()` - Add `Number.parseFloat()` - Fix length of `AggregateError` - Fix length of `Reflect.setPrototypeOf`
Pull request successfully merged into main. Build succeeded: |
bors
bot
changed the title
Implement
[Merged by Bors] - Implement Mar 4, 2022
Number.parseInt
and Number.parseFloat
Number.parseInt
and Number.parseFloat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add
Number.parseInt
andNumber.parseFloat
which according to spec are clones of the global objectsparseInt
andparseFloat
.It also fixes the last failing test of the
NativeError
feature with this we get 100% spec complaintNativeError
s 🎉It changes the following:
Number.parseInt()
Number.parseFloat()
AggregateError
Reflect.setPrototypeOf