Skip to content
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

Are we going to get a destructor tag in the future? #11898

Open
jit-zs opened this issue Dec 20, 2024 · 2 comments
Open

Are we going to get a destructor tag in the future? #11898

jit-zs opened this issue Dec 20, 2024 · 2 comments

Comments

@jit-zs
Copy link

jit-zs commented Dec 20, 2024

I was wondering if we were going to get a language specific tag for destructor. I know some of the supported languages don't have destructors I.E: JavaScript, and thats why im suggesting it as a tag instead of a full feature.

@Aurel300
Copy link
Member

See the discussion in haxe-evolution here - this proposal has been rejected in the past, since most Haxe targets do not support such a feature.

@jit-zs
Copy link
Author

jit-zs commented Dec 20, 2024

The only languages on the target pages that don't have a destructor are JavaScript, Flash, ActionScript3, and Neko. The destructor feature could probably be implemented in HashLink and the interpreter if they wanted to. Also as I said it should be a tag because of the lack of support for certain languages.

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

No branches or pull requests

2 participants