// FIR_IDENTICAL // WITH_STDLIB // ISSUE: KT-64066, KT-53478 // LANGUAGE: +NoBuilderInferenceWithoutAnnotationRestriction fun box1() { val map = buildMap { put(1, 1) for (v in values) {} } } class UncompilingClass( val block: (UncompilingClass.() -> Unit)? = null, ) { var uncompilingFun: ((T) -> Unit)? = null } fun handleInt(arg: Int) = Unit fun box2() { val obj = UncompilingClass { uncompilingFun = { handleInt(it) } } }