Skip to content

union comparison functions cause assertion failures in VC++ std lib #6041

@danielmewes

Description

@danielmewes

Running the following query on a Debug-mode built on Windows causes assertion failures:

r.expr([{a: 1, b: 2}]).union([{a: 1, b: 2}], {interleave: r.desc("a")})

The failed assertion is: Expression: invalid comparator, and it appears to be coming from std::priority_queue.

On Linux, there doesn't seem to be such an assertion, and the query (seemingly) gives a correct result.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions