refactor to combine params

This commit is contained in:
faldor20 2024-04-02 12:01:26 +10:00
parent 384bf7ca5b
commit 612fa4c75a
No known key found for this signature in database
GPG key ID: F2216079B890CD57
2 changed files with 128 additions and 92 deletions

View file

@ -218,7 +218,6 @@ pub(crate) fn ok_to_ok_branch(
symbol: &Symbol,
env: &mut Env<'_>,
) -> WhenBranch {
WhenBranch {
patterns: vec![WhenBranchPattern {
pattern: Loc::at_zero(Pattern::AppliedTag {