Hello! I've registered IrGenerationExtension for K...
# compiler
p
Hello! I've registered IrGenerationExtension for Kotlin compiler but it seems to work only for JVM. Does someone knows how to enable it to JS too?
d
I checked compiler sources and seems that
IrGenerationExtension
used only in jvm backend
p
Thanks for quick answer! But what is the purpose for IR then? Or is there any plans to apply it for JS also?
d
Yes, you're right. In future we want all three backends work using same IR structure
👍 1
b
@PHondogo could you please provide more information about your case? Feel free to contribute required changes.
p
Hello, @bashor! I just need to generate synthetic function implemenation regardless of target platform.
b
@PHondogo I’ve created the issue https://youtrack.jetbrains.com/issue/KT-34423 feel free to start or vote to get updates.
p
Thanks @bashor! I've voted!