Skip to content

fix for loops crashing on hashlink - #33

Open
Villezen wants to merge 1 commit into
CodenameCrew:codename-devfrom
Villezen:fix-for-loops
Open

Villezen wants to merge 1 commit into
CodenameCrew:codename-devfrom
Villezen:fix-for-loops

Conversation

@Villezen

Copy link
Copy Markdown

on hashlink, every normal for loop crashes with Can't cast i32 to virtual<key:dynamic,value:dynamic>

This happens because next had no type, so haxe expected every value to have both a key and value field, which ints for example don't have

This turns next into Dynamic so it accepts any value properly

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.

1 participant