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 support for defer #285

Closed
jcp19 opened this issue May 18, 2021 · 1 comment
Closed

Add support for defer #285

jcp19 opened this issue May 18, 2021 · 1 comment
Labels
enhancement New feature or request VerifiedSCION

Comments

@jcp19
Copy link
Contributor

jcp19 commented May 18, 2021

Handling defer in general is hard. However, I believe that we could somewhat easily support defer statements that occur outside of (syntactic) loops by using labels in the generated viper code

@jcp19 jcp19 added enhancement New feature or request VerifiedSCION labels May 18, 2021
@jcp19
Copy link
Contributor Author

jcp19 commented Jul 12, 2022

A simple version of defer was implemented in #469. I will close this issue now - let's open new issues when the limitations of the current approach to defer become problematic

@jcp19 jcp19 closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request VerifiedSCION
Projects
None yet
Development

No branches or pull requests

1 participant