Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Nov 8, 2024

This was extracted from #345. This adds types which will be converted into SequenceSet, so that PR can focus only on not converting a few types to SequenceSet.

Also deleted redundant `private_const` argument
This adds tests for
* String => quoted string
* Range  => sequence-set
* -1     => sequence-set
* sequence-set string with "*" => quoted string
This format simplifies updating the docs in later commits.
This will be useful later, for recursively inspecting arrays.

Also, the three different cases are split up, because we'll probably add
extra limitations on `Range` and `Array` in a different PR.
This catches invalid args slightly sooner.
@nevans nevans changed the title ✨ Coerce Set, :*, and responds to #to_sequence_set search args into sequence-set ✨ Coerce Set, :*, #to_sequence_set search args into sequence-set Nov 8, 2024
@nevans nevans merged commit 799cc94 into master Nov 8, 2024
22 checks passed
@nevans nevans deleted the search-coerce-sequence_set branch November 8, 2024 21:47
@nevans nevans added the enhancement New feature or request label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants