Join Slack
Communities
Powered by
Hi all, can anybody explain why Kotlin doesn't all...
# announcements
n
Nikita Voloshin
01/30/2021, 4:12 PM
Hi all, can anybody explain why Kotlin doesn't allow smart-cast on receiver after function call in infix manner? Consider this toy example:
n
Nir
01/30/2021, 4:22 PM
Are you positive it's not a precedence issue?
Nir
01/30/2021, 4:22 PM
Hmm I guess it can't be that
Nir
01/30/2021, 4:22 PM
So probably a bug?
n
Nikita Voloshin
01/30/2021, 4:28 PM
Yeah, most likely. I've found a similar issue on youtrack
https://youtrack.jetbrains.com/issue/KT-27261
Open in Slack
Previous
Next