Skip to content

Conversation

@setsunica
Copy link

I found that if I specify a return value of type bool for Object.get or Object.call, it does not compile and does not work. I think both Zig and JavaScript need to be modified.

  • In the Zig code, change the return type of Value.boolean from !f64 to !bool because it is probably incorrect.

  • In the JavaScript code, when the obtained value is a boolean, write to the output pointer is probably missing, so add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant