private suspend fun onLogin(login: String, password: String) {
delay(100)
Toast.makeText(this, "Hello from $login, my password is $password", Toast.LENGTH_LONG).show()
}
This block of code gives me an Internal Compiler Error using 1.3.0-compose-20190503:
e: java.lang.IllegalStateException: Backend Internal error: Exception during code generation
Cause: null while generating code for:
FUN name:onLogin visibility:private modality:FINAL <> ($this:androidx.ui.material.demos.GithubActivity, login:kotlin.String, password:kotlin.String) returnType:kotlin.Unit [suspend]
$this: VALUE_PARAMETER name:<this> type:androidx.ui.material.demos.GithubActivity
VALUE_PARAMETER name:login index:0 type:kotlin.String
VALUE_PARAMETER name:password index:1 type:kotlin.String
BLOCK_BODY