FILE: samForComparator.kt public final fun foo(x: R|kotlin/Comparator|): R|kotlin/Unit| { } public final fun main(): R|kotlin/Unit| { R|/foo|( = SAM(foo@fun (x: R|kotlin/CharSequence!|, y: R|kotlin/CharSequence!|): R|kotlin/Int| { ^ R|/x|.R|kotlin/CharSequence.length|.R|kotlin/Int.minus|(R|/y|.R|kotlin/CharSequence.length|) } )) }