Skip to content

Array Bug in Hashlink target #59

Description

@darmie

This line causes a problem

untyped a.length = len;

I fixed it this by removing the length setter for HL target...

#elseif hl
var a = [];
return a;
#else
var a = [];
untyped a.length = len;
return a;
#end

I didn't open a pull request because I haven't done extensive tests beyond my own use case, but please look into this cos it's breaking my library on HL target.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions