Skip to content
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

Add try-catch support #8

Open
sikvelsigma opened this issue Apr 25, 2023 · 3 comments
Open

Add try-catch support #8

sikvelsigma opened this issue Apr 25, 2023 · 3 comments

Comments

@sikvelsigma
Copy link

FunC v0.4.0 supports a try-catch block:

try {
  do_something();
} catch (x, n) {
  handle_exception();
}

Extension 1.1.5 doesn't recognize this as valid syntax:
image

@mnusurov
Copy link

please solve it

@sikvelsigma
Copy link
Author

@unserialize please add try-catch support in the new version

@b1acKr0se
Copy link

This needs more attention, try catch is an incredibly useful feature and it's not nice seeing errors everywhere just by using 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

No branches or pull requests

3 participants