Skip to content

layer try/except blocks #8

@disruptek

Description

@disruptek

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: ...

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions