fix(AstNode::parse): respect char boundaries of source when informing about a parse error #558

Merged
wetneb merged 3 commits from ada4a/mergiraf:ast-parse-fail-char-boundary into main 2025-08-02 09:35:02 +02:00
Owner

fixes the panic mentioned in #557 (comment)

fixes the panic mentioned in https://codeberg.org/mergiraf/mergiraf/pulls/557#issuecomment-6095173
ada4a changed title from fix(AstNode::parse): respect char boundaries of source when informing about an parse error to fix(AstNode::parse): respect char boundaries of source when informing about a parse error 2025-08-02 01:03:20 +02:00
wetneb approved these changes 2025-08-02 07:58:09 +02:00
wetneb left a comment
Owner

Amazing that you were able to debug this even without a reproducing test case! I felt bad of just dropping the log of the panic without more info… Thank you!

Amazing that you were able to debug this even without a reproducing test case! I felt bad of just dropping the log of the panic without more info… Thank you!
wetneb merged commit 68b86fb426 into main 2025-08-02 09:35:02 +02:00
ada4a deleted branch ast-parse-fail-char-boundary 2025-08-02 14:04:40 +02:00
Author
Owner

I largely owe that to the descriptive panic message that we got from std, but thank you ☺️

I largely owe that to the descriptive panic message that we got from std, but thank you :relaxed:
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mergiraf/mergiraf#558
No description provided.