Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure that pattern matching an animation only produces a wildcard
Previously, it was possible for example to take an expression `match (? : Maybe Animation) with {Nothing -> ? ; Just x -> ?}`, then, by raising `Animation`, create `match (? : Animation) with {Nothing -> ? ; Just -> ? ; _ -> ?}`. Now we ensure that those first two nonsensical branches are removed. Signed-off-by: George Thomas <georgefsthomas@gmail.com>
- Loading branch information