Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

funky span ranges #1

Open
twicedo opened this issue Jul 13, 2023 · 0 comments
Open

funky span ranges #1

twicedo opened this issue Jul 13, 2023 · 0 comments

Comments

@twicedo
Copy link

twicedo commented Jul 13, 2023

for string " fn aa"
lexer generates

  [Annot{
      value: Fn,
      loc: Loc {
          f: 4,
          e: 6,
      },
  },
  Annot{
      value: Ident(
          "aa",
      ),
      loc: Loc {
          f: 5,
          e: 8,
      },
  },]
] 

aren't the ranges are overlapping (4,6) and next (5,8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant