Skip to content

jsonrpc: parse error shows the wrong column on long requests #3914

Description

@RafaelGranza

When a request is longer than 512 bytes, the reported column is counted from the start of the captured window instead of the start of the line, so it points at a column that does not exist in the request.
The line number and the caret are still correct.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions