Open
Description
Update: VM support has landed, reuse this issue to extend the support to compilation to javascript:
Currently both VM and dwds cannot evaluate this
in extension methods.
Not sure about VM, but on the web the problem is a scope mismatch:
- the scope in kernel contains
#this
, notthis
- the expression compiled is
this
, so compilation fails - compiling
#this
also fails because the incremental compiler does not allow#
in variables.
Not sure if the solution lies in CFE (changing the name?) or the users of it (adding this
to scope?) or both.