Skip to content

Array element and field token spans include previous comma #229

@latkin

Description

@latkin

Consider JSON blob

[1,    2,    3]

The spans from getTokenLocation to getCurrentLocation when sitting on each VALUE_NUMBER_INT are currently

1
,    2
,    3

I would expect them to each be 1-char wide, i.e.

1
2
3

Is this expected/per-spec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions