zesterer / ariadne

A fancy diagnostics & error reporting crate
https://crates.io/crates/ariadne
MIT License
1.61k stars 72 forks source link

Error labels don't line up with error location #23

Closed geom3trik closed 2 years ago

geom3trik commented 2 years ago

I tried running the multiline example and the label does not line up with the error. Here is an image to show what I mean: image

zesterer commented 2 years ago

Oh goodness, this sounds like #19. Does this work on master, or not?

geom3trik commented 2 years ago

Hi, I'm not sure what you mean, I don't see any other branches other than main so that's the one I tried running the example on.

geom3trik commented 2 years ago

Oh goodness, this sounds like #19.

Okay so I just tried replacing the new lines from CRLF to LF and that seems to have fixed it. So this appears to be a duplicate of #19. Thank you for your time.

zesterer commented 2 years ago

Sorry this hasn't been fixed yet, Hopefully this will be fixed in the new year!