Wrote /root/JavaX-Caches/tmp_594970517/main.java - 1512 bytes (written=1512, should be 1512) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar:/root/.tinybrain/snippet-cache/1019849.jar -d /root/JavaX-Caches/tmp_529478622 /root/JavaX-Caches/tmp_594970517/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_594970517/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_594970517/main.java:6: error: class, interface, or enum expected start-thread { ^ /root/JavaX-Caches/tmp_594970517/main.java:8: error: class, interface, or enum expected print(myFunc_v2(5)); ^ /root/JavaX-Caches/tmp_594970517/main.java:9: error: class, interface, or enum expected set shouldFreeze; ^ /root/JavaX-Caches/tmp_594970517/main.java:10: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_594970517/main.java:12: error: class, interface, or enum expected } catch FreezeStackException e { ^ /root/JavaX-Caches/tmp_594970517/main.java:14: error: class, interface, or enum expected pnlStruct(e.stack); ^ /root/JavaX-Caches/tmp_594970517/main.java:15: error: class, interface, or enum expected new VStack stack; ^ /root/JavaX-Caches/tmp_594970517/main.java:16: error: class, interface, or enum expected stack.pushAll(reversed(e.stack)); ^ /root/JavaX-Caches/tmp_594970517/main.java:17: error: class, interface, or enum expected stepAllWith(stack, r { ^ /root/JavaX-Caches/tmp_594970517/main.java:19: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_594970517/main.java:20: error: class, interface, or enum expected print(stack.latestResult); ^ /root/JavaX-Caches/tmp_594970517/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_594970517/main.java:26: error: class, interface, or enum expected if (n <= 0) ret "base"; ^ /root/JavaX-Caches/tmp_594970517/main.java:27: error: class, interface, or enum expected ret n + " " + myFunc(n-1); ^ /root/JavaX-Caches/tmp_594970517/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_594970517/main.java:31: error: '(' or '[' expected L<VStack.Computable> stack = new L; ^ /root/JavaX-Caches/tmp_594970517/main.java:36: error: class, interface, or enum expected srecord myFunc_vstack(int n) implements VStack.Computable<S> { ^ /root/JavaX-Caches/tmp_594970517/main.java:37: error: class, interface, or enum expected public void step(VStack stack, O subResult) { ^ /root/JavaX-Caches/tmp_594970517/main.java:40: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_594970517/main.java:42: error: class, interface, or enum expected if (n <= 0) ret with stack._return("base"); ^ /root/JavaX-Caches/tmp_594970517/main.java:43: error: class, interface, or enum expected stack.push(new myFunc_vstack(n-1)); ^ /root/JavaX-Caches/tmp_594970517/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_594970517/main.java:51: error: class, interface, or enum expected if (n <= 0) if (shouldFreeze) throw freezeStack(); else ret "base"; ^ /root/JavaX-Caches/tmp_594970517/main.java:51: error: class, interface, or enum expected if (n <= 0) if (shouldFreeze) throw freezeStack(); else ret "base"; ^ /root/JavaX-Caches/tmp_594970517/main.java:52: error: class, interface, or enum expected ret n + " " + myFunc_v2(n-1); ^ /root/JavaX-Caches/tmp_594970517/main.java:53: error: class, interface, or enum expected } on fail FreezeStackException e { ^ /root/JavaX-Caches/tmp_594970517/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_594970517/main.java:60: error: class, interface, or enum expected } ^ 29 errors