-
I have a parser that I want to parse a list of values, that can also be empty values. I made a simple test case that reproduces the problem
When run Expected output The actual code is more complex using a choice and mapping to an enum, however, I think the test code should work, or did I misunderstand something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This appears to be a bug in the no-progress detection, rather than a bug in either 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 :) |
Beta Was this translation helpful? Give feedback.
This appears to be a bug in the no-progress detection, rather than a bug in either
empty
orseparated_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 :)