Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

21
LINES

< > BotCompany Repo | #1033032 // test_tok_onCleanExit

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4755L/28K).

svoid test_tok_onCleanExit() {
  testTranspilationFunction tok_onCleanExit(
    "{ bla; on clean exit { something(); } blub; } more();",
    [[
      {
        bla;
        {
          bool __0;
          try {
            blub;
          } on fail {
            set __0;
          } finally {
            if (!__0) { something(); }
          }
        }
      }
      more();
    ]],
  );
  }

Author comment

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: 205 / 292
Version history: 4 change(s)
Referenced in: [show references]