Wrote /root/JavaX-Caches/tmp_957034524/main.java - 1801 bytes (written=1801, should be 1801)
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_2038449229 /root/JavaX-Caches/tmp_957034524/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_957034524/main.java:1: error: class, interface, or enum expected
sclass QAHandler {
^
/root/JavaX-Caches/tmp_957034524/main.java:4: error: class, interface, or enum expected
if (!qa.has()) null;
^
/root/JavaX-Caches/tmp_957034524/main.java:5: error: class, interface, or enum expected
if (qa.score() > maxTypos) {
^
/root/JavaX-Caches/tmp_957034524/main.java:7: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_957034524/main.java:8: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:10: error: class, interface, or enum expected
ret qa!;
^
/root/JavaX-Caches/tmp_957034524/main.java:11: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:15: error: class, interface, or enum expected
try object QA qa = findMatchingQA(s, filter(list(QA), q -> neq(q.language, language)));
^
/root/JavaX-Caches/tmp_957034524/main.java:16: error: class, interface, or enum expected
if (allowTypos)
^
/root/JavaX-Caches/tmp_957034524/main.java:18: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_957034524/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:24: error: class, interface, or enum expected
findClosestQA(s, qa, conceptsWhere(QA, +language));
^
/root/JavaX-Caches/tmp_957034524/main.java:25: error: class, interface, or enum expected
findClosestQA(s, qa, filter(list(QA), q -> neq(q.language, language)));
^
/root/JavaX-Caches/tmp_957034524/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:31: error: unclosed character literal
Map categoryToIndex = fieldToFieldIndex('name, 'index, list(Category));
^
/root/JavaX-Caches/tmp_957034524/main.java:31: error: unclosed character literal
Map categoryToIndex = fieldToFieldIndex('name, 'index, list(Category));
^
/root/JavaX-Caches/tmp_957034524/main.java:32: error: class, interface, or enum expected
ret sortedByCalculatedField(qas, q -> pair(categoryToIndex.get(q.category), q.index));
^
/root/JavaX-Caches/tmp_957034524/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:38: error: class, interface, or enum expected
for (QA qa : sortQAs(conceptsWhere(QA, language := lang.code)))
^
/root/JavaX-Caches/tmp_957034524/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:47: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_957034524/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957034524/main.java:53: error: class, interface, or enum expected
if (score != null)
^
/root/JavaX-Caches/tmp_957034524/main.java:55: error: class, interface, or enum expected
}
^
25 errors