Hello everyone! I have problem with new IR which expected to be fixed in kotlin 1.4.30 but I reproduced it and find out the reason of this exception
https://youtrack.jetbrains.com/issue/KT-42021#focus=Comments-27-4720921.0-0
I don't know why, but in kotlin 1.4.20 I could pass not suspend function reference to function that accepts only suspend functions
👀 1
karenkovigor
02/26/2021, 8:42 AM
Some new info: you must place code inside class, it doesn't happen when you place code as top level declaration in file