Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invariants: fix incomplete pattern match warning
9.4.x seems to flag an incomplete pattern match where other ghc versions don't. Replacing the initial pattern guard match against an empty list with a final otherwise pattern guard clause silences it relatively intuitively. The semantics should be preserved as the use of the pattern guard match in testCompileToQuery is equivalent to case. Compile-tested against 9.8.1, 9.6.2, 9.4.5, 9.2.8 and 8.10.7.
- Loading branch information