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

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

/root/JavaX-Caches/tmp_1961648162/main.java:101: error: method setData in class DynObjectTable<A#1> cannot be applied to given types; setData(map(battleSpace, new F1<RuleWithParams, Suggestion>() { Suggestion get(RuleWithParams r) { try { ^ required: Collection<RuleWithParams> found: List<Suggestion> reason: argument mismatch; inference variable B has incompatible equality constraints RuleWithParams,Suggestion where A#1,B,A#2 are type-variables: A#1 extends Object declared in class DynObjectTable B extends Object declared in method <A#2,B>map(Iterable<A#2>,F1<A#2,B>) A#2 extends Object declared in method <A#2,B>map(Iterable<A#2>,F1<A#2,B>) 1 error