Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Extent() returns nil for empty set #6

@gonzojive

Description

@gonzojive

I think Extent() should return a valid Interval, not nil. The current behavior causes bugs like the one solved by #3.

To get a valid Interval out of an empty set, we will want to make the set constructors take an Interval factory of some kind.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions