diff options
| author | Damien George | 2019-09-28 00:07:21 +1000 |
|---|---|---|
| committer | Damien George | 2019-10-04 23:01:29 +1000 |
| commit | 82c494a97e874912e7eb23d2f03f39212e343fb3 (patch) | |
| tree | 8448ae6191db319f091d4d54da72697e46163460 /tests/basics/try_finally_continue.py.exp | |
| parent | 0096041c9912d34a6227f647c264325b178c0384 (diff) | |
py/vm: Fix handling of unwind jump out of active finally.
Prior to this commit, when unwinding through an active finally the stack
was not being correctly popped/folded, which resulting in the VM crashing
for complicated unwinding of nested finallys.
This should be fixed with this commit, and more tests for return/break/
continue within a finally have been added to exercise this.
Diffstat (limited to 'tests/basics/try_finally_continue.py.exp')
| -rw-r--r-- | tests/basics/try_finally_continue.py.exp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/basics/try_finally_continue.py.exp b/tests/basics/try_finally_continue.py.exp new file mode 100644 index 000000000..2901997b1 --- /dev/null +++ b/tests/basics/try_finally_continue.py.exp @@ -0,0 +1,9 @@ +4 0 +continue +4 1 +continue +4 2 +continue +4 3 +continue +None |
