type casting
R3D9477 opened this issue · 2 comments
R3D9477 commented
Hi. Is it possible to use type-casting at haxe-expression?
For example code a = cast(v, $MyClass);
will return error EUnknownVariable(cast)
.
Thanks.
ncannasse commented
You can implement it yourself by defining a "cast" function in the interpreter context.
R3D9477 commented
thanks for hint!