Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Dec 17, 2025

According to the rdoc, using a range with #delete? should return a sequence set (or nil), but the check came after importing the input, and was based on whether the imported run contained multiple values. So deleting a single number range (e.g: 1..1 or "1:1") would return a number not a set.

According to the rdoc, using a range with `#delete?` should return a
sequence set (or nil), but the check came after importing the input, and
was based on whether the imported run contained multiple values.  So
deleting a single number range (e.g: `1..1` or `"1:1"`) would return a
number not a set.
@nevans nevans added bug Something isn't working sequence-set Any code the IMAP `sequence-set` data type or grammar rule, especially the SequenceSet class. labels Dec 17, 2025
@nevans nevans merged commit d455729 into master Dec 17, 2025
45 of 46 checks passed
@nevans nevans deleted the sequence_set/fix-deletep-with-single-member-range branch December 17, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working sequence-set Any code the IMAP `sequence-set` data type or grammar rule, especially the SequenceSet class.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants