if I try `var cb = new Function1<? extends Inpu...
# announcements
e
if I try
var cb = new Function1<? extends InputTextCallbackData, Boolean> (() -> true);
then the
extends
complains
Wildcard type '? extends imgui.classes.InputTextCallbackData' cannot be instantiated directly
p
I think you are mixing languages. “var” is kotlin and “new”/“extends” are java
e
var
is also java 11+
anyway, I solved
p
ok