Skip to content

Array Bug in Hashlink target #59

@darmie

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.

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