https://kotlinlang.org logo
r

raulraja

09/21/2019, 4:21 PM
As I work on testing the Arrow codebase with Arrow Meta and IR enabled on I’m finding many unsupported and missing cases in IR translation even in the JVM target. Is there a public list or way to track what is missing?. We could help contributing the missing pieces to the compiler if that helps us in any way getting there faster.
d

dmitriy.novozhilov

09/21/2019, 5:39 PM
You can create issue in kotlin youtrack with
Type = Featrue
and
Subsistems = Backend. IR
and describe your cases in it https://youtrack.jetbrains.net/issues/KT
r

raulraja

09/21/2019, 7:50 PM
It seems to fail in different unrelated cases such as finding suspended functions with receiver, generation of type aliases that are top level but point to nested classes in sealed classes etc. If there isn’t a list I’ll be happy to document all my findings and create issues for those in youtrack.
d

dmitriy.novozhilov

09/21/2019, 8:06 PM
looks like there is no meta-issue with such list so feel free to make your own Here list of non-bug issues: https://youtrack.jetbrains.com/issues?q=Subsystems:%20%7BBackend.%20IR%7D%20state:%20Open%20type:-Bug%20
r

raulraja

09/21/2019, 8:06 PM
awesome thanks!
👍 2
b

bashor

09/23/2019, 2:43 PM
cc @udalov
r

raulraja

09/30/2019, 12:15 AM
Related to this issue for those interested, these are the examples I have found so far where the IR backend fails in the arrow code base https://kotlinlang.slack.com/archives/CJ699L62W/p1569802451049200
Here is a new issue regarding the IR backend I found in the Arrow code base. It seems to be related to the use of suspend functions and suspend lambdas / references : https://youtrack.jetbrains.com/issue/KT-34250