Libraryless. Click here for Pure Java version (4755L/28K).
1 | svoid test_tok_onCleanExit() { |
2 | testTranspilationFunction tok_onCleanExit( |
3 | "{ bla; on clean exit { something(); } blub; } more();", |
4 | [[ |
5 | { |
6 | bla; |
7 | { |
8 | bool __0; |
9 | try { |
10 | blub; |
11 | } on fail { |
12 | set __0; |
13 | } finally { |
14 | if (!__0) { something(); } |
15 | } |
16 | } |
17 | } |
18 | more(); |
19 | ]], |
20 | ); |
21 | } |
Began life as a copy of #1030980
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033032 |
Snippet name: | test_tok_onCleanExit |
Eternal ID of this version: | #1033032/5 |
Text MD5: | 0c26ee536c0fb61bc8bab88d6fed26f8 |
Transpilation MD5: | e16c36fe8060cd1242c673192d7ff7a1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-11 13:42:06 |
Source code size: | 413 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 206 / 293 |
Version history: | 4 change(s) |
Referenced in: | [show references] |