-
Notifications
You must be signed in to change notification settings - Fork 222
Enumerating a tiscript object in c++ seems to be broken #84
Comments
How do you "enumerating an tiscript object" ? |
I am using the tiscript::enumerator for this. Example: nlohmann::json tisObjToJson( HVM vm, nlohmann::json j, tiscript::value obj ) { |
Where |
Oops, I removed it accidentally while copying it to github. |
And what are "empty key and a symbol instead" exactly? |
The only pair that gets added to the nlohmann::json object with the function above is an empty string as key "" and the value "nothing" as string. |
Thanks for clarification. Problem is on my side, fixing. |
Thank you. |
Thank you for the fix. But sadly there seems to be one problem remaining. now has the objects key in the "value" variable and the objects value in the "key" variable |
Thanks, fixing. |
Thank you for fixing this I'm sorry to say that I have found another Issue. |
Stack trace will be enough, thanks in advance. |
The stack trace in question: https://pastebin.com/xZtBNrLj |
Thanks, is it possible to get somehow minimal html/css/svg set where this is reproducible. So far I cannot reproduce it on smaples that I have here. |
segfault_example.zip |
Thanks. One more bug of GCC code generator, or probably our mutual misunderstanding with it. Sigh. You can take updated .so from https://github.com/c-smile/sciter-sdk/tree/master/bin.gtk/x64 |
Thank you very much for the quick fix |
I updated sciter-gtk.so from version 4.1.5.5856 today because of the window closure sequence bug and now enumerating an tiscript object only returns an empty key and a symbol instead of the keys and values of the object.
It works again when I replace it new .so with the old one.
The text was updated successfully, but these errors were encountered: