ilya.gorbunov
val result = listOf(1) .map { object { val foo = "foo"; val bar = it } } .map { it.foo } .first()