-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[JS/TS] Rewrite flexbuffers JS to TS #6148
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
Conversation
|
@mzaks a bit tricky to port :) but I think this is close... currently a curious bug causing test to fail at JavaScriptFlexBuffersTest.js:56 with: actual: Uint8Array(29) [
154, 153, 153, 153, 153, 153, 241, 63,
0, 0, 0, 0, 0, 0, 0, 0,
0, 255, 255, 255, 255, 255, 255, 255,
15, 5, 18, 43, 1
],
expected: Uint8Array(29) [
2, 0, 0, 0, 0, 0, 0, 0,
154, 153, 153, 153, 153, 153, 241, 63,
0, 255, 255, 255, 255, 255, 255, 255,
15, 5, 18, 43, 1
], |
|
It seems to be this assert: On line 74. I would need some time to check out your branch and debug a bit :). |
|
Asserts at 81, 91, 265, 317 fails, and uncommenting that last one results in a thrown exception "Key [age] is not applicable on / of 9". I must have messed up something in the core logic.. don't expect you to debug it for me, but glad if you do: :) |
|
@bjornharrtell I will try to take some time today in the evening. |
|
@bjornharrtell I found the bug. You use |
|
@mzaks nice catch. Fixed and went over code formatting. |
|
Nice! I'll merge once @mzaks approves. |
|
@krojew may want to have a look |
|
I am super sorry for the long radio silence. I went through the code. It is good to be merged! And PR can be closed |
|
Thanks! |
ref #6144