Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When Choices was changed to disallow an empty set, it introduced a bug where `Str >= Str % Choices({...})` would raise an error instead of reporting `True`. This expression never really happens in practice, so it doesn't impact much of anything. But now there are more generic protections preventing a plugin developer from registering an empty predicate, which is probably not what they intended.
- Loading branch information
1 parent
ee15f69
commit 684b8b7
Showing
3 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters