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

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

/root/JavaX-Caches/tmp_112337870/main.java:5: error: illegal start of type new Map<S, O> map; ^ /root/JavaX-Caches/tmp_112337870/main.java:23: error: illegal start of type *(S *var, O *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:23: error: <identifier> expected *(S *var, O *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:23: error: 'var' is not allowed here *(S *var, O *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:23: error: <identifier> expected *(S *var, O *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:23: error: ';' expected *(S *var, O *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:23: error: <identifier> expected *(S *var, O *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:27: error: illegal start of type new List<Pred> parts; ^ /root/JavaX-Caches/tmp_112337870/main.java:29: error: illegal start of type *(Pred... parts) { ^ /root/JavaX-Caches/tmp_112337870/main.java:29: error: <identifier> expected *(Pred... parts) { ^ /root/JavaX-Caches/tmp_112337870/main.java:29: error: <identifier> expected *(Pred... parts) { ^ /root/JavaX-Caches/tmp_112337870/main.java:35: error: illegal start of type new List<Pred> parts; ^ /root/JavaX-Caches/tmp_112337870/main.java:37: error: illegal start of type *(Pred... parts) { ^ /root/JavaX-Caches/tmp_112337870/main.java:37: error: <identifier> expected *(Pred... parts) { ^ /root/JavaX-Caches/tmp_112337870/main.java:37: error: <identifier> expected *(Pred... parts) { ^ /root/JavaX-Caches/tmp_112337870/main.java:42: error: class, interface, or enum expected static void eval(Pred p, Ass ass) { ^ /root/JavaX-Caches/tmp_112337870/main.java:45: error: class, interface, or enum expected ass.assign(a.var, a.value); ^ /root/JavaX-Caches/tmp_112337870/main.java:46: error: class, interface, or enum expected } else if (p instanceof And) { ^ /root/JavaX-Caches/tmp_112337870/main.java:48: error: class, interface, or enum expected for (Pred part : a.parts) ^ /root/JavaX-Caches/tmp_112337870/main.java:50: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_112337870/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_112337870/main.java:57: error: class, interface, or enum expected fail("did not fail"); ^ /root/JavaX-Caches/tmp_112337870/main.java:58: error: class, interface, or enum expected } catch (RuntimeException e) { ^ /root/JavaX-Caches/tmp_112337870/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_112337870/main.java:65: error: class, interface, or enum expected list.add(x); ^ /root/JavaX-Caches/tmp_112337870/main.java:66: error: class, interface, or enum expected return list; ^ /root/JavaX-Caches/tmp_112337870/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_112337870/main.java:76: error: illegal start of type *(Ass *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:76: error: <identifier> expected *(Ass *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:76: error: <identifier> expected *(Ass *value) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:90: error: illegal start of type *(Or *o) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:90: error: <identifier> expected *(Or *o) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:90: error: <identifier> expected *(Or *o) {} ^ /root/JavaX-Caches/tmp_112337870/main.java:94: error: '(' or '[' expected new Ass ass; ^ /root/JavaX-Caches/tmp_112337870/main.java:100: error: class, interface, or enum expected static Iter multiEval(Pred p) { ^ /root/JavaX-Caches/tmp_112337870/main.java:103: error: class, interface, or enum expected return new OrIterator(o); ^ /root/JavaX-Caches/tmp_112337870/main.java:104: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_112337870/main.java:106: error: class, interface, or enum expected eval(p, ass); ^ /root/JavaX-Caches/tmp_112337870/main.java:107: error: class, interface, or enum expected return new Singleton(ass); ^ /root/JavaX-Caches/tmp_112337870/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_112337870/main.java:113: error: class, interface, or enum expected eval(new Assign("x", new Integer(1)), ass); ^ /root/JavaX-Caches/tmp_112337870/main.java:114: error: class, interface, or enum expected print(structure(ass)); ^ /root/JavaX-Caches/tmp_112337870/main.java:116: error: class, interface, or enum expected ass = new Ass; ^ /root/JavaX-Caches/tmp_112337870/main.java:117: error: class, interface, or enum expected eval(new And( ^ /root/JavaX-Caches/tmp_112337870/main.java:120: error: class, interface, or enum expected print(structure(ass)); ^ /root/JavaX-Caches/tmp_112337870/main.java:122: error: class, interface, or enum expected shouldFail(new And( ^ /root/JavaX-Caches/tmp_112337870/main.java:128: error: class, interface, or enum expected L<Ass> list = all(multiEval(new Assign("a", new Integer(5)))); ^ /root/JavaX-Caches/tmp_112337870/main.java:129: error: class, interface, or enum expected assertEquals(1, list.size()); ^ /root/JavaX-Caches/tmp_112337870/main.java:130: error: class, interface, or enum expected print(structure(list)); ^ /root/JavaX-Caches/tmp_112337870/main.java:132: error: class, interface, or enum expected list = all(multiEval(new Or( ^ /root/JavaX-Caches/tmp_112337870/main.java:135: error: class, interface, or enum expected assertEquals(2, list.size()); ^ /root/JavaX-Caches/tmp_112337870/main.java:136: error: class, interface, or enum expected print(structure(list)); ^ /root/JavaX-Caches/tmp_112337870/main.java:137: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_112337870/main.java:141: error: class, interface, or enum expected while (true) { ^ /root/JavaX-Caches/tmp_112337870/main.java:143: error: class, interface, or enum expected if (ass != null) ^ /root/JavaX-Caches/tmp_112337870/main.java:145: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_112337870/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_112337870/main.java:149: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_112337870/main.java:154: error: class, interface, or enum expected } ^ 59 errors