// FIR_IDENTICAL // !LANGUAGE: +SamConversionForKotlinFunctions +SamConversionPerArgument // !CHECK_TYPE // FILE: F.java public interface F { void apply(S s); } // FILE: PR.java public interface PR {} // FILE: 1.kt interface K { fun f_t(f1: F, f2: F) fun f_r(f1: F, f2: F) fun f_pr(f1: F>, f2: F>) } fun test( k: K, f_string: F, f_int: F, f_pr: F> ) { k.f_t(f_string) { it checkType { _() } } k.f_r(f_int) { it checkType { _() } } k.f_pr(f_pr) { it checkType { _>() } } }