Skip to content

Crash with PriorityQueue #337

@felipensp

Description

@felipensp

The following code reproduces a crash:

import std.collection.*;
import std.io.*;

function test(x, y) {
    return x > y;
}

var pq = PriorityQueue.new(test);

pq.push(1);
pq.push(1);
pq.push(1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions