Skip to content

SparsetSet: signed/unsigned/isEmpty/contains issue #20

@mratsim

Description

@mratsim

Extracted from #19


It's probably linked to signed/unsigned conversion, but trying to isolate the bug removes it. It might require int conversion via Generics in a file that doesn't directly import sparsesets or something like that.

Symptoms:

DeepinScreenshot_select-area_20191122214201

DeepinScreenshot_select-area_20191122214606

Note that even with asserts off we still get issues. Some thief/victim ID or sparset length appear negative if converted to "int" or normal (in the 250 range) if kept as "Setuint".

I don't now why it doesn't happen on master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions