-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously the catchall was falling through to the list case and trying to enumerate `nil`. This commit adds a guard to the list condition to ensure that doesn't happen again, then adds a new condition to handle `nil`. I _think_ this should be handling all cases now, so it also removes the catchall. This way, if it fails in a way we didn't expect, it should give an obvious failure that there was no matching case. Fixes #191
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
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