Hi there. I believe this is a code generation prob...
# javascript
b
Hi there. I believe this is a code generation problem in the JS backend: https://pl.kotl.in/luUpaughw `chainc()' method call is not being emitted.
d
Interesting, even
Copy code
fun chainc(): Wrapper {
    throw Exception()
}
produces the same result.
b
Yes, I belive it has to do with inlining, but it is just a wild guess
d
b
Raised issue KT-33590 KotlinJS codegen problem - method call omitted
d
Sweet! (Would be a good idea to inline the code too).
b
Sure, done