Skip to content

Position line and column should start at zero #94

Closed
@jamesdbrock

Description

@jamesdbrock

Position line and column should start at 0, not 1.

initialPos = Position { line: 1, column: 1 }

This has been super inconvenient for me on several occasions.

https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html

This would be an easy change to make, but the hard part would be not breaking downstream dependents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: breaking changeA change that requires a major version bump.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions