I dont got no references

This commit is contained in:
Ayaz Hafiz 2022-04-28 15:00:18 -04:00 committed by ayazhafiz
parent 89757dc31f
commit 5f8834d6b4
2 changed files with 3 additions and 3 deletions

View file

@ -1985,8 +1985,8 @@ pub fn rec_defs_help(
def,
&mut def_pattern_state,
&mut state,
&arguments,
&arg_types,
arguments,
arg_types,
);
let pattern_types = arguments.iter().map(|a| Type::Variable(a.0)).collect();

View file

@ -5762,7 +5762,7 @@ fn to_opt_branches<'a>(
Guard::NoGuard
};
if when_branch.redundant.is_redundant(&env.subs) {
if when_branch.redundant.is_redundant(env.subs) {
// Don't codegen this branch since it's redundant.
continue;
}