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

[std] make haxe.ds.HashMap unify with Iterable, closes #9055 #9066

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

Gama11
Copy link
Member

@Gama11 Gama11 commented Dec 27, 2019

This makes it work with static extensions such as those from Lambda.

It seems @:to methods would've been enough for unification to work, but not static extensions (related: HaxeFoundation/HaxeManual#444). So the only option seems to be to casts + adding the methods to the base class as well.

@RealyUniqueName
Copy link
Member

Have you looked into cppia crash?

@Gama11
Copy link
Member Author

Gama11 commented Dec 29, 2019

Ah, no, I hadn't noticed. I guess that must be a cppia bug?

@RealyUniqueName RealyUniqueName added this to the Backlog milestone Dec 30, 2019
@Gama11
Copy link
Member Author

Gama11 commented Jan 2, 2020

Btw, the same fix may be needed for haxe.ds.ReadOnlyArray.

@RealyUniqueName
Copy link
Member

I guess that must be a cppia bug?

Most likely.

@Simn
Copy link
Member

Simn commented Feb 17, 2020

@hughsando Could you check the cppia crash? Maybe @Gama11 can reduce it a bit.

@Simn Simn modified the milestones: Backlog, Release 4.3 Mar 24, 2023
@Simn Simn modified the milestones: Release 4.3, Later Mar 28, 2023
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.

4 participants