-
-
Notifications
You must be signed in to change notification settings - Fork 414
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 DataView
built-in object
#1662
Conversation
d2e8fbc
to
483af94
Compare
I don't understand why the CI doesn't pass, it does type check on my computer |
The rebase probably made it not typecheck. Can you still compile it after the rebase? |
Yup! |
Then maybe try to rebase again. If that doesn't work then just add the changes that the CI complains about |
Github says that your branch is 16 commits behind the main. It's possible that you rebased against the main of your fork instead of the main of the boa repo. |
483af94
to
dd98b10
Compare
DataView
object
Test262 conformance changes:
Fixed tests (932):
New panics (2):
|
I've been having a bit of work lately, I'll finish the implementation remove the panics and add the documentation whenever I have time! |
Let me give you a tip for the panics, because I struggled with those detach panics for TypedArrays. You probably have some place in your implementation where you |
0fe8246
to
6229721
Compare
I only have 10 tests that fail, I couldnt make them pass I can list them here if you want (They are basically all the same but for different types). |
9301890
to
00b5eee
Compare
Test262 conformance changes:
Fixed tests (940):
|
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.
Overall looks great, just want to clear up 2 things.
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 work!
Got a few little changes from my side.
I must thank you all guys, I've learned a lot implementing this! |
83c95d2
to
b772817
Compare
b772817
to
f499f15
Compare
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.
Everything looks good, I'll just wait for CI before merging
DataView
objectDataView
built-in object
I implemented a first version of
DataView
it currently passes 61.48% of the tests. There is still work to increase readability. I am learning to use macros to make the setType and getType methods easier to maintain. I'm also currently working on adding the documentation.This Pull Request fixes/closes #1641
It changes the following:
It's my first big PR so I made a ton of mistakes for sure. Please feel free to rant my code it'll definetly help me improve!