``` fun foo() { lateinit var two: () -> Uni...
# announcements
r
Copy code
fun foo() {
    lateinit var two: () -> Unit
    fun one() {
        two()
    }
    two = {
        
    }
    one()
}
This compiles and is fine to use in my opinion. Just don't try to call one before two is assigned.