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

Static Extension Meta Functions #91

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

Conversation

lublak
Copy link

@lublak lublak commented Oct 11, 2021

@skial skial mentioned this pull request Oct 13, 2021
1 task
@lublak
Copy link
Author

lublak commented Oct 28, 2021

@:from and @:to actually have the same functionalities.
Whether you want to implement both as alias is open here.

@EliteMasterEric
Copy link

I think this proposal is clean and makes a lot of sense. I see a lot of potential for making syntax very convenient with this, I like @:arrayAccess on strings in particular and think it should be added to StringTools. 👍 from me.

@Simn
Copy link
Member

Simn commented Jan 7, 2024

I can't see myself accepting any more implicit casts in the Haxe language, but I'm very much in favor of operator overloading via static extensions. This is a poorly written proposal though...

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.

3 participants