Release 0.6.3#37
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (14)
📝 WalkthroughWalkthroughRelease 0.6.3 fixes asymmetric trivia state handling in PegEngine's repetition/trivia combinators on the CutFailure path. Four methods now restore pending-trivia snapshots before propagating cuts. Tests validate the fix across Optional, ZeroOrMore, OneOrMore, and bounded repetition scenarios. All project artifacts updated to 0.6.3 with changelog and documentation reflecting zero test skips. ChangesRelease 0.6.3 with CutFailure Symmetry Fix
🎯 2 (Simple) | ⏱️ ~12 minutes
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Patch release 0.6.3.
Fixed
PegEngine) cut-failure symmetry:Optional,ZeroOrMore,OneOrMore, and bounded repetition swallowed the pending-trivia snapshot on theCutFailurepath; all four now restore symmetrically (+5 tests).LexerGeneratorTest.parity_triviaClassification_lineAndBlockComments— both skip reasons resolved by the 0.6.2 folded-%whitespacefix.Notes
Summary by CodeRabbit
Bug Fixes
Tests