Edoardo Luppi
08/07/2024, 8:47 AM-Xenable-extension-functions-in-externals
(and maybe why it's off by default)?Artem Kobzar
08/07/2024, 9:10 AMEdoardo Luppi
08/07/2024, 9:14 AMIlya Goncharov [JB]
08/07/2024, 9:27 AMthis
in JavaScript. That’s why it is not default
There can be 2 different cases
1. It is indeed replacement of this
, for example you have class A in js, and function foo
, but this
in the function is not A
but something different
2. Just like on JVM it is another argument in a method. So compiler key enables exactly this option.Edoardo Luppi
08/07/2024, 9:38 AM