hscript
hscript copied to clipboard
Add support for ENew typing
Added typing result for ENew expr
I think it's not complete as it should check params types and infer the correct types parameters for generics, which is a bit complex thing to do. I will work on this later. Also, we might want to restrict the scripts from creating new objects.