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

layer try/except blocks #8

Open
disruptek opened this issue Sep 8, 2020 · 0 comments
Open

layer try/except blocks #8

disruptek opened this issue Sep 8, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@disruptek
Copy link
Owner

We should layer statements in each block so that we can accumulate state without breaking scope and still catch exceptions. This will unify var x = foo() statements with the rest of the tests.

var x = foo()
test2()

...turns into...

try:
  var x = foo()
  try:
     test2()
  except: ...
  finally: ...
except: ...
finally: ...
@disruptek disruptek added the enhancement New feature or request label Sep 8, 2020
@disruptek disruptek self-assigned this Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant