Skip to content

Conversation

@Martin005
Copy link
Contributor

@Martin005 Martin005 commented Oct 29, 2025

This PR fixes incorrect sourcepos for lists, items and taskitems.

Fixes #541 (all other incorrect sourcepos values were fixed by previous PRs) 🚀

Copy link
Owner

@kivikakk kivikakk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incredible — all known sourcepos issues fixed?!

Comment on lines +614 to +615
let children: Vec<_> = container.children().collect();
for ch in children {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not mistaken, we don't need this change any more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kivikakk Oh yeah, that's true, it can be removed. I can see you already did that in 7a48ba1, thanks! 🙂

@kivikakk kivikakk merged commit 0430af5 into kivikakk:main Oct 29, 2025
22 of 23 checks passed
@kivikakk
Copy link
Owner

What amazing contributions you've made this last week! Thank you again!

@Martin005
Copy link
Contributor Author

@kivikakk Yep, all known sourcepos issues fixed! If there are any new ones discovered, I am happy to fix them :)

@Martin005 Martin005 deleted the fix-list-sourcepos branch November 22, 2025 09:08
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

Successfully merging this pull request may close these issues.

Fix inline sourcepos listed in src/tests/sourcepos.rs.

2 participants