Skip to content

Consider making split assert rather than throw #70

Description

@jsbean

In usage (e.g., in Tree), contexts wrapping split are asserting (or fatalErroring) if nil is returned from split.

Perhaps this should be treated as programmer error always, and therefore an assert should be used rather than an Optional return value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions