FILE: lambdaArgInScopeFunction.kt public final class KotlinClass : R|kotlin/Comparable| { public constructor(name: R|kotlin/String|): R|KotlinClass| { super() } private final val name: R|kotlin/String| = R|/name| private get(): R|kotlin/String| public final override operator fun compareTo(that: R|KotlinClass|): R|kotlin/Int| { ^compareTo this@R|/KotlinClass|.R|/KotlinClass.name|.R|kotlin/String.compareTo|(R|/that|.R|/KotlinClass.name|) } } public final fun case1(kotlinClass: R|KotlinClass?|): R|kotlin/Unit| { lval value: R|KotlinClass?| = R|/kotlinClass|?.{ $subj$.R|kotlin/let|( = let@fun (it: R|KotlinClass|): R|KotlinClass| { ^ R|/it| } ) } R|/value|.R|tests/_checkType/checkType|( = checkType@fun R|tests/_checkType/Inv|.(): R|kotlin/Unit| { this@R|special/anonymous|.R|tests/_checkType/_|() } ) lval lambda: R|() -> KotlinClass| = R|/kotlinClass|?.{ $subj$.R|kotlin/let| KotlinClass|>( = let@fun (it: R|KotlinClass|): R|() -> KotlinClass| { ^ let@fun (): R|KotlinClass| { ^ R|/it| } } ) } R|/lambda|.R|tests/_checkType/checkType| KotlinClass|>( = checkType@fun R|tests/_checkType/Inv?>|.(): R|kotlin/Unit| { ^ #() } ) } public final fun case2(kotlinClass: R|KotlinClass|): R|kotlin/Unit| { lval value: R|KotlinClass| = R|/kotlinClass|.R|kotlin/let|( = let@fun (it: R|KotlinClass|): R|KotlinClass| { ^ R|/it| } ) R|/value|.R|tests/_checkType/checkType|( = checkType@fun R|tests/_checkType/Inv|.(): R|kotlin/Unit| { this@R|special/anonymous|.R|tests/_checkType/_|() } ) lval lambda: R|() -> KotlinClass| = R|/kotlinClass|.R|kotlin/let| KotlinClass|>( = let@fun (it: R|KotlinClass|): R|() -> KotlinClass| { ^ let@fun (): R|KotlinClass| { ^ R|/it| } } ) R|/lambda|.R|tests/_checkType/checkType| KotlinClass|>( = checkType@fun R|tests/_checkType/Inv>|.(): R|kotlin/Unit| { ^ #() } ) } FILE: CHECK_TYPE.kt public final fun checkSubtype(t: R|T|): R|T| { ^checkSubtype R|/t| } public final class Inv : R|kotlin/Any| { public constructor(): R|tests/_checkType/Inv| { super() } } public final fun R|tests/_checkType/Inv|._(): R|kotlin/Unit| { } public final infix fun R|T|.checkType(f: R|tests/_checkType/Inv.() -> kotlin/Unit|): R|kotlin/Unit| { }