Skip to content

Conversation

@istathar
Copy link
Member

Encountered a nasty bug that a document with only top-level Sections, which by design is a valid and admissible Technique (and is even how struct Technique is defined) was not being parsed but worse was being silently discarded.

Fixed an omission in the formatter where sections were not being preceded by a blank line.

Added an example to the golden tests to enforce this remaining correct in the future.

@istathar istathar self-assigned this Aug 30, 2025
@istathar
Copy link
Member Author

This was uncovered writing a checklist for bedtime with my little boy. Fun!

@istathar istathar changed the title Fix section steps Fix parsing of documents with only top-level Sections Aug 30, 2025
@istathar istathar merged commit ac0efe8 into technique-lang:main Aug 30, 2025
1 check passed
@istathar istathar deleted the fix-section-steps branch September 4, 2025 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant