I’m calling a java method that has this signature:...
# announcements
c
I’m calling a java method that has this signature:
public <T extends Collector> T register(CollectorRegistry registry)
and kotlin complains that it can’t infer the generics type. but I don’t even care about the return value, so why does it even need to infer the type?