Skip to content

Add support for ENew typing #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deepnight
Copy link

Added typing result for ENew expr

@deepnight deepnight marked this pull request as ready for review July 2, 2025 12:18
@ncannasse
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants