Files
kotlin-fork/idea/testData/formatter/callChain/KT22148.after.kt
T
2020-02-04 21:34:53 +07:00

15 lines
345 B
Kotlin
Vendored

fun foo() {
async {
// ...
}.logFailures().invokeOnCompletion {
if (it != null) showErrorAndContinue()
finish()
}
FirebaseAuth.getInstance().addAuthStateListener(object : FirebaseAuth.AuthStateListener {
override fun onAuthStateChanged(auth: FirebaseAuth) {
// ...
}
})
}