Skip to content

LeaderSegment.resolve() should not return empty string #114

@bertfrees

Description

@bertfrees

LeaderSegment.resolve() and LeaderSegment.peek() currently return the empty string. The exact string that is returns doesn't matter because it is not literally included in the result, however it can influence the translation of the segments around the leader. The simplest and most accurate thing to do is probably to return a single instance of the leader pattern. The length doesn't matter.

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