Wrote /root/JavaX-Caches/tmp_1300656934/main.java - 5661 bytes (written=5661, should be 5661)
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/1400546.jar:/root/.tinybrain/snippet-cache/1400547.jar:/root/.tinybrain/snippet-cache/1400548.jar:/root/.tinybrain/snippet-cache/1400555.jar -d /root/JavaX-Caches/tmp_1107899 /root/JavaX-Caches/tmp_1300656934/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1300656934/main.java:1: error: class, interface, or enum expected
!include once #1034831 // Gazelle 22 Function Include for Testing
^
/root/JavaX-Caches/tmp_1300656934/main.java:1: error: illegal character: '#'
!include once #1034831 // Gazelle 22 Function Include for Testing
^
/root/JavaX-Caches/tmp_1300656934/main.java:7: error: class, interface, or enum expected
LeftArrowScriptAutoCompleter completer = new(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:11: error: class, interface, or enum expected
completer.globalMethodNames = -> ll("add", "pat", "lol");
^
/root/JavaX-Caches/tmp_1300656934/main.java:13: error: class, interface, or enum expected
completer.parser.noImports();
^
/root/JavaX-Caches/tmp_1300656934/main.java:15: error: class, interface, or enum expected
assertEmpty(completer.parser.globalClassNames());
^
/root/JavaX-Caches/tmp_1300656934/main.java:16: error: class, interface, or enum expected
completer.seek("a", 1);
^
/root/JavaX-Caches/tmp_1300656934/main.java:17: error: class, interface, or enum expected
assertEqualsVerbose("a", completer.typedCharacters());
^
/root/JavaX-Caches/tmp_1300656934/main.java:18: error: class, interface, or enum expected
assertEqualsVerbose(ll("add", "pat", "false"), completer.getCompletions());
^
/root/JavaX-Caches/tmp_1300656934/main.java:21: error: class, interface, or enum expected
parser = new GazelleV_LeftArrowScriptParser;
^
/root/JavaX-Caches/tmp_1300656934/main.java:22: error: class, interface, or enum expected
completer = new LeftArrowScriptAutoCompleter(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:23: error: class, interface, or enum expected
completer.globalMethodNames = -> ll("add", "pat", "lol");
^
/root/JavaX-Caches/tmp_1300656934/main.java:24: error: class, interface, or enum expected
completer.parser.importedPackages = -> null; // to suppress class names being returned
^
/root/JavaX-Caches/tmp_1300656934/main.java:26: error: class, interface, or enum expected
completer.seek("add", 3);
^
/root/JavaX-Caches/tmp_1300656934/main.java:27: error: class, interface, or enum expected
assertFalseVerbose(contains(completer.getCompletions(), "add"));
^
/root/JavaX-Caches/tmp_1300656934/main.java:32: error: class, interface, or enum expected
parser = new GazelleV_LeftArrowScriptParser;
^
/root/JavaX-Caches/tmp_1300656934/main.java:33: error: class, interface, or enum expected
completer = new LeftArrowScriptAutoCompleter(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:34: error: class, interface, or enum expected
completer.globalMethodNames = -> ll("add", "pat", "lol");
^
/root/JavaX-Caches/tmp_1300656934/main.java:35: error: class, interface, or enum expected
completer.parser.importedPackages = -> null; // to suppress class names being returned
^
/root/JavaX-Caches/tmp_1300656934/main.java:37: error: class, interface, or enum expected
completer.seek("add ", 4);
^
/root/JavaX-Caches/tmp_1300656934/main.java:38: error: class, interface, or enum expected
assertContainsAll(completer.getCompletions(), ll("true", "false", "null"));
^
/root/JavaX-Caches/tmp_1300656934/main.java:41: error: class, interface, or enum expected
for (S text : ll("Mat", "Mat ")) {
^
/root/JavaX-Caches/tmp_1300656934/main.java:43: error: class, interface, or enum expected
completer = new LeftArrowScriptAutoCompleter(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:44: error: class, interface, or enum expected
completer.seek(printQuoted(+text), 3);
^
/root/JavaX-Caches/tmp_1300656934/main.java:45: error: class, interface, or enum expected
var completions = completer.getCompletions();
^
/root/JavaX-Caches/tmp_1300656934/main.java:46: error: class, interface, or enum expected
pnlReversed(takeFirst(10, completions));
^
/root/JavaX-Caches/tmp_1300656934/main.java:47: error: class, interface, or enum expected
assertEquals(0, indexOf(completions, "Math"));
^
/root/JavaX-Caches/tmp_1300656934/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:52: error: class, interface, or enum expected
completer = new LeftArrowScriptAutoCompleter(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:54: error: class, interface, or enum expected
completer.seek(print("new Inte"), 8);
^
/root/JavaX-Caches/tmp_1300656934/main.java:55: error: class, interface, or enum expected
var completions = completer.getCompletions();
^
/root/JavaX-Caches/tmp_1300656934/main.java:56: error: class, interface, or enum expected
pnlReversed(takeFirst(10, completions));
^
/root/JavaX-Caches/tmp_1300656934/main.java:57: error: class, interface, or enum expected
assertEquals(0, indexOf(completions, "Integer"));
^
/root/JavaX-Caches/tmp_1300656934/main.java:60: error: class, interface, or enum expected
parser = new GazelleV_LeftArrowScriptParser; // restore class finding
^
/root/JavaX-Caches/tmp_1300656934/main.java:61: error: class, interface, or enum expected
parser.allowTheWorld(FunctionContainer.class);
^
/root/JavaX-Caches/tmp_1300656934/main.java:61: error: expected
parser.allowTheWorld(FunctionContainer.class);
^
/root/JavaX-Caches/tmp_1300656934/main.java:62: error: class, interface, or enum expected
completer = new LeftArrowScriptAutoCompleter(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:63: error: class, interface, or enum expected
completer.seek(print("MyN"), 3);
^
/root/JavaX-Caches/tmp_1300656934/main.java:64: error: class, interface, or enum expected
completions = completer.getCompletions();
^
/root/JavaX-Caches/tmp_1300656934/main.java:65: error: class, interface, or enum expected
pnlReversed(takeFirst(10, completions));
^
/root/JavaX-Caches/tmp_1300656934/main.java:66: error: class, interface, or enum expected
assertEquals(0, indexOf(completions, "MyName"));
^
/root/JavaX-Caches/tmp_1300656934/main.java:69: error: class, interface, or enum expected
parser = new GazelleV_LeftArrowScriptParser;
^
/root/JavaX-Caches/tmp_1300656934/main.java:70: error: class, interface, or enum expected
parser.functionDefs.put("hello", new GazelleV_LeftArrowScript.FunctionDef);
^
/root/JavaX-Caches/tmp_1300656934/main.java:71: error: class, interface, or enum expected
completer = new LeftArrowScriptAutoCompleter(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:72: error: class, interface, or enum expected
completer.seekEnd("he");
^
/root/JavaX-Caches/tmp_1300656934/main.java:73: error: class, interface, or enum expected
completions = completer.getCompletions();
^
/root/JavaX-Caches/tmp_1300656934/main.java:74: error: class, interface, or enum expected
assertContains(completions, "hello");
^
/root/JavaX-Caches/tmp_1300656934/main.java:76: error: class, interface, or enum expected
testVars();
^
/root/JavaX-Caches/tmp_1300656934/main.java:77: error: class, interface, or enum expected
testMethodsOfNewInstance();
^
/root/JavaX-Caches/tmp_1300656934/main.java:78: error: class, interface, or enum expected
testMethodsOfNewInstanceInVar();
^
/root/JavaX-Caches/tmp_1300656934/main.java:79: error: class, interface, or enum expected
testMethodsOfFunctionResultInVar();
^
/root/JavaX-Caches/tmp_1300656934/main.java:80: error: class, interface, or enum expected
testMethodsOfLambdaParameter();
^
/root/JavaX-Caches/tmp_1300656934/main.java:81: error: class, interface, or enum expected
testMethodsOfForVariable();
^
/root/JavaX-Caches/tmp_1300656934/main.java:83: error: class, interface, or enum expected
printWithPrecedingNL("Auto-completer works!");
^
/root/JavaX-Caches/tmp_1300656934/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:86: error: illegal character: '#'
svoid #testVars {
^
/root/JavaX-Caches/tmp_1300656934/main.java:89: error: class, interface, or enum expected
parser.noImports();
^
/root/JavaX-Caches/tmp_1300656934/main.java:90: error: class, interface, or enum expected
var completer = new LeftArrowScriptAutoCompleter(parser);
^
/root/JavaX-Caches/tmp_1300656934/main.java:91: error: class, interface, or enum expected
completer.seekEnd("a <- 1\n");
^
/root/JavaX-Caches/tmp_1300656934/main.java:92: error: class, interface, or enum expected
pnl("knowVarsByTokenIdx", completer.knownVarsByTokenIdx);
^
/root/JavaX-Caches/tmp_1300656934/main.java:93: error: class, interface, or enum expected
assertSetsEqual(print(listPlus(completer.predefinedExpressions(), "a")),
^
/root/JavaX-Caches/tmp_1300656934/main.java:95: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:97: error: illegal character: '#'
svoid #testMethodsOfNewInstance {
^
/root/JavaX-Caches/tmp_1300656934/main.java:100: error: class, interface, or enum expected
var completer = enableScaffolding(new LeftArrowScriptAutoCompleter(parser));
^
/root/JavaX-Caches/tmp_1300656934/main.java:101: error: class, interface, or enum expected
completer.seekEnd("new Double, ");
^
/root/JavaX-Caches/tmp_1300656934/main.java:102: error: class, interface, or enum expected
assertContains(print(completer.getCompletions()), "doubleValue");
^
/root/JavaX-Caches/tmp_1300656934/main.java:103: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:105: error: illegal character: '#'
svoid #testMethodsOfNewInstanceInVar {
^
/root/JavaX-Caches/tmp_1300656934/main.java:107: error: class, interface, or enum expected
parser.onTypeHook(type -> print("TypeHook at " + parser.t() + " (" + parser.tokIdx() + ": " + type);
^
/root/JavaX-Caches/tmp_1300656934/main.java:109: error: class, interface, or enum expected
var completer = /*enableScaffolding*/(new LeftArrowScriptAutoCompleter(parser));
^
/root/JavaX-Caches/tmp_1300656934/main.java:110: error: class, interface, or enum expected
completer.seekEnd("x <- new Double; x ");
^
/root/JavaX-Caches/tmp_1300656934/main.java:112: error: class, interface, or enum expected
assertContains(print(completer.getCompletions()), "doubleValue");
^
/root/JavaX-Caches/tmp_1300656934/main.java:113: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:115: error: illegal character: '#'
svoid #testMethodsOfFunctionResultInVar {
^
/root/JavaX-Caches/tmp_1300656934/main.java:117: error: class, interface, or enum expected
var completer = /*enableScaffolding*/(new LeftArrowScriptAutoCompleter(parser));
^
/root/JavaX-Caches/tmp_1300656934/main.java:118: error: class, interface, or enum expected
completer.seekEnd([[ def myFunc: S { "" }; x <- myFunc; x ]]);
^
/root/JavaX-Caches/tmp_1300656934/main.java:118: error: class, interface, or enum expected
completer.seekEnd([[ def myFunc: S { "" }; x <- myFunc; x ]]);
^
/root/JavaX-Caches/tmp_1300656934/main.java:118: error: class, interface, or enum expected
completer.seekEnd([[ def myFunc: S { "" }; x <- myFunc; x ]]);
^
/root/JavaX-Caches/tmp_1300656934/main.java:119: error: class, interface, or enum expected
assertContains(print(completer.getCompletions()), "length");
^
/root/JavaX-Caches/tmp_1300656934/main.java:120: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:122: error: illegal character: '#'
svoid #testMethodsOfLambdaParameter {
^
/root/JavaX-Caches/tmp_1300656934/main.java:124: error: class, interface, or enum expected
parser.allowTheWorld(FunctionContainer.class);
^
/root/JavaX-Caches/tmp_1300656934/main.java:124: error: expected
parser.allowTheWorld(FunctionContainer.class);
^
/root/JavaX-Caches/tmp_1300656934/main.java:125: error: class, interface, or enum expected
var completer = /*enableScaffolding*/(new LeftArrowScriptAutoCompleter(parser));
^
/root/JavaX-Caches/tmp_1300656934/main.java:126: error: class, interface, or enum expected
completer.seekEnd([[ IVF1 a: S -> a ]]);
^
/root/JavaX-Caches/tmp_1300656934/main.java:127: error: class, interface, or enum expected
assertContains(print(completer.getCompletions()), "length");
^
/root/JavaX-Caches/tmp_1300656934/main.java:128: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:130: error: illegal character: '#'
svoid #testMethodsOfForVariable {
^
/root/JavaX-Caches/tmp_1300656934/main.java:132: error: class, interface, or enum expected
parser.allowTheWorld(FunctionContainer.class);
^
/root/JavaX-Caches/tmp_1300656934/main.java:132: error: expected
parser.allowTheWorld(FunctionContainer.class);
^
/root/JavaX-Caches/tmp_1300656934/main.java:133: error: class, interface, or enum expected
var completer = /*enableScaffolding*/(new LeftArrowScriptAutoCompleter(parser));
^
/root/JavaX-Caches/tmp_1300656934/main.java:134: error: class, interface, or enum expected
completer.seekEnd([[ for s: S in null { s ]]);
^
/root/JavaX-Caches/tmp_1300656934/main.java:135: error: class, interface, or enum expected
assertContains(print(completer.getCompletions()), "length");
^
/root/JavaX-Caches/tmp_1300656934/main.java:136: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1300656934/main.java:138: error: illegal character: '#'
sclass #FunctionContainer {
^
/root/JavaX-Caches/tmp_1300656934/main.java:141: error: class, interface, or enum expected
}
^
96 errors