Skip to content

PriorityQueue doesn't compile on eval target #48

@Gama11

Description

@Gama11
import polygonal.ds.PriorityQueue;

class Main {
	static function main() {}
}
> haxe -main Main -lib polygonal-ds --interp
[...]/PriorityQueue.hx:354: characters 3-13 : error: {+ priority : Int } should be polygonal.ds.PriorityQueue.T
[...]/PriorityQueue.hx:354: characters 3-13 :  have: Array<{+ priority }>
[...]/PriorityQueue.hx:354: characters 3-13 :  want: Array<polygonal.ds.PriorityQueue.T>
[...]/PriorityQueue.hx:536: characters 24-25 : Too many arguments

Tested with Haxe 4.0.5 and polygonal-ds 2.1.1.

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