Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Change return type to bool #6

Open
zixuanzh opened this issue Dec 5, 2018 · 0 comments
Open

Change return type to bool #6

zixuanzh opened this issue Dec 5, 2018 · 0 comments

Comments

@zixuanzh
Copy link
Contributor

zixuanzh commented Dec 5, 2018

Instead of returning a Result<(), InstructionError>, we should return a Result<bool, InstructionError> to match wasmx/wasm-chisel. Our program also dont have to return error every time we encounter an invalid operation. Instead, we should return true or false so that the module can be used by other programs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant