As I work on testing the Arrow codebase with Arrow...
# compiler
r
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
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
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
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
awesome thanks!
👍 2
b
cc @udalov
r
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