Fix line positions#555
Conversation
|
We should also add a CI test for this |
|
Looks good to me. |
|
@marcoeilers there is just one thing that I'm not sure about; there was a comment: // As opposed to use Index ~ t ~ Index, this implementation is agnostic to white space specializations.My solution is to pretty much use |
|
No, I don't really remember how the whitespace handling works at all. I guess you can have different parse rules being either whitespace agnostic or not, but I don't know who's specializing what where. But I tested the code on an example that had all the whitespace-related cases I could think of and it always worked, so whatever it's doing it seems to be right. |
|
The key difference is between |
|
Yeah, makes sense. |
|
@JonasAlaif Awesome, thanks a lot for the quick fix! |
No description provided.