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

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

/root/JavaX-Caches/tmp_664269314/main.java:9: error: class, interface, or enum expected static L<SlackMsg> slackReadChannel(S channelID, S token, int limit) { ^ /root/JavaX-Caches/tmp_664269314/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_664269314/main.java:15: error: class, interface, or enum expected S postData = "token=" + urlencode(token) + "&channel=" + urlencode(channelID) + "&count=" + limit ^ /root/JavaX-Caches/tmp_664269314/main.java:17: error: class, interface, or enum expected S data = doPostWithTimeout(postData, url, slackSetTimeout_get()); ^ /root/JavaX-Caches/tmp_664269314/main.java:18: error: class, interface, or enum expected Map map = cast jsonDecode(data); ^ /root/JavaX-Caches/tmp_664269314/main.java:19: error: class, interface, or enum expected if (!isTrue(map.get("ok"))) ^ /root/JavaX-Caches/tmp_664269314/main.java:21: error: class, interface, or enum expected List<Map> _msgs = cast map.get("messages"); ^ /root/JavaX-Caches/tmp_664269314/main.java:22: error: class, interface, or enum expected new L<SlackMsg> msgs; ^ /root/JavaX-Caches/tmp_664269314/main.java:23: error: class, interface, or enum expected for (Map msg : reversedList(_msgs)) { ^ /root/JavaX-Caches/tmp_664269314/main.java:25: error: class, interface, or enum expected m.type = (S) msg.get("type"); ^ /root/JavaX-Caches/tmp_664269314/main.java:26: error: class, interface, or enum expected m.user = (S) msg.get("user"); ^ /root/JavaX-Caches/tmp_664269314/main.java:27: error: class, interface, or enum expected m.botName = (S) msg.get("username"); ^ /root/JavaX-Caches/tmp_664269314/main.java:28: error: class, interface, or enum expected m.text = htmldecode((S) msg.get("text")); ^ /root/JavaX-Caches/tmp_664269314/main.java:29: error: class, interface, or enum expected m.ts = (S) msg.get("ts"); ^ /root/JavaX-Caches/tmp_664269314/main.java:30: error: class, interface, or enum expected m.reactions = msg.get("reactions"); ^ /root/JavaX-Caches/tmp_664269314/main.java:31: error: class, interface, or enum expected m.channelID = channelID; ^ /root/JavaX-Caches/tmp_664269314/main.java:32: error: class, interface, or enum expected m.userName = slackGetUserName(token, m.user); ^ /root/JavaX-Caches/tmp_664269314/main.java:33: error: class, interface, or enum expected msgs.add(m); ^ /root/JavaX-Caches/tmp_664269314/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_664269314/main.java:38: error: class, interface, or enum expected } ^ 20 errors