Skip to content

empty().separated_by(just(";")) making no progress #404

Closed Answered by zesterer
apps4uco asked this question in Q&A
Discussion options

You must be logged in to vote

This appears to be a bug in the no-progress detection, rather than a bug in either empty or separated_by. Compiling with --release has this code pass.

It seems like the no-progress detection only checks the progression of the item, not the item and separator in combination.

I've fixed this in cfb143 and added tests for it, thanks for bringing it to my attention :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@apps4uco
Comment options

Answer selected by zesterer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants