Related, I assume that es6 output from the Kotlin ...
# javascript
s
Related, I assume that es6 output from the Kotlin compiler would fix this but progress seems very far away (https://youtrack.jetbrains.com/issue/KT-39650). Is that a fair assessment ?
👀 1
t
Do you need workaround for now?
s
I think we will stay behind on that specific dependency for now. A quick test using string replacement on the resulting output file seemed to work
Controller.call(this, context);
->
return Reflect.construct(Controller, arguments, new.target);
but I am not a big fan of these kinds of hacks in the build system
I have posted a babel solution in the other thread: https://kotlinlang.slack.com/archives/C0B8L3U69/p1633955096156300