Wrote /root/JavaX-Caches/tmp_639241444/main.java - 3793 bytes (written=3793, should be 3793) 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 -d /root/JavaX-Caches/tmp_1949891703 /root/JavaX-Caches/tmp_639241444/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_639241444/main.java:25: error: class, interface, or enum expected sclass PStack<A> extends VStack is IPStack { ^ /root/JavaX-Caches/tmp_639241444/main.java:27: error: class, interface, or enum expected int stackID = ++idCounter; // for debugging ^ /root/JavaX-Caches/tmp_639241444/main.java:30: error: class, interface, or enum expected selfType snapshot; ^ /root/JavaX-Caches/tmp_639241444/main.java:33: error: class, interface, or enum expected Iterator<IVF1> options; ^ /root/JavaX-Caches/tmp_639241444/main.java:35: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_639241444/main.java:36: error: class, interface, or enum expected *(Computable<A> computation) { push(computation); } ^ /root/JavaX-Caches/tmp_639241444/main.java:37: error: class, interface, or enum expected *(Iterable<Computable> l) { pushAll(l); } ^ /root/JavaX-Caches/tmp_639241444/main.java:41: error: class, interface, or enum expected s.snapshot = snapshot; ^ /root/JavaX-Caches/tmp_639241444/main.java:42: error: class, interface, or enum expected s.options = options; ^ /root/JavaX-Caches/tmp_639241444/main.java:43: error: class, interface, or enum expected s.stack = shallowCloneElements(stack); ^ /root/JavaX-Caches/tmp_639241444/main.java:44: error: class, interface, or enum expected ret s; ^ /root/JavaX-Caches/tmp_639241444/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:47: error: class, interface, or enum expected public <B extends VStack.Computable> void options(B function, IVF1<B>... options) { ^ /root/JavaX-Caches/tmp_639241444/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:51: error: class, interface, or enum expected public <B extends VStack.Computable> void options(B function, Iterable<IVF1<B>> options) { ^ /root/JavaX-Caches/tmp_639241444/main.java:54: error: class, interface, or enum expected if (!iterator.hasNext()) ^ /root/JavaX-Caches/tmp_639241444/main.java:57: error: class, interface, or enum expected IVF1<B> firstOption = iterator.next(); ^ /root/JavaX-Caches/tmp_639241444/main.java:62: error: class, interface, or enum expected setOptions(iterator); ^ /root/JavaX-Caches/tmp_639241444/main.java:65: error: class, interface, or enum expected firstOption.get(function); ^ /root/JavaX-Caches/tmp_639241444/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:70: error: class, interface, or enum expected this.options = (Iterator) options; ^ /root/JavaX-Caches/tmp_639241444/main.java:71: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:75: error: class, interface, or enum expected public selfType backtrack() ctex { ^ /root/JavaX-Caches/tmp_639241444/main.java:80: error: class, interface, or enum expected selfType nextStack = snapshot; ^ /root/JavaX-Caches/tmp_639241444/main.java:81: error: class, interface, or enum expected var option = options.next(); ^ /root/JavaX-Caches/tmp_639241444/main.java:85: error: class, interface, or enum expected bool moreOptions = options.hasNext(); ^ /root/JavaX-Caches/tmp_639241444/main.java:86: error: class, interface, or enum expected if (moreOptions) { ^ /root/JavaX-Caches/tmp_639241444/main.java:88: error: class, interface, or enum expected nextStack.stack = shallowCloneElements(snapshot.stack); ^ /root/JavaX-Caches/tmp_639241444/main.java:89: error: class, interface, or enum expected nextStack.snapshot = snapshot; ^ /root/JavaX-Caches/tmp_639241444/main.java:90: error: class, interface, or enum expected nextStack.options = options; ^ /root/JavaX-Caches/tmp_639241444/main.java:91: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:94: error: class, interface, or enum expected ret nextStack; ^ /root/JavaX-Caches/tmp_639241444/main.java:95: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:97: error: class, interface, or enum expected public A nextResult() { ^ /root/JavaX-Caches/tmp_639241444/main.java:99: error: class, interface, or enum expected return (A) latestResult; ^ /root/JavaX-Caches/tmp_639241444/main.java:100: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:103: error: class, interface, or enum expected public A nextResultWithPrintStruct(long maxSteps) { ^ /root/JavaX-Caches/tmp_639241444/main.java:105: error: class, interface, or enum expected return (A) latestResult; ^ /root/JavaX-Caches/tmp_639241444/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_639241444/main.java:109: error: class, interface, or enum expected public void step(VStack stack, O subComputationResult) { ^ /root/JavaX-Caches/tmp_639241444/main.java:111: error: class, interface, or enum expected stack.return(); ^ /root/JavaX-Caches/tmp_639241444/main.java:112: error: class, interface, or enum expected option.get(target); ^ /root/JavaX-Caches/tmp_639241444/main.java:113: error: class, interface, or enum expected } ^ 43 errors