quick fix for test 59
This commit is contained in:
parent
32b0200966
commit
5e5a9dd25f
|
@ -1469,12 +1469,6 @@ impl<'a> CodeGenerator<'a> {
|
|||
);
|
||||
}
|
||||
} else {
|
||||
let tail_name = match *tail.clone().unwrap() {
|
||||
Pattern::Var { name, .. } => name,
|
||||
Pattern::Discard { .. } => "_".to_string(),
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
pattern_vec.push(Air::ListClauseGuard {
|
||||
scope: scope.clone(),
|
||||
tipo: pattern_type.clone(),
|
||||
|
@ -1483,14 +1477,9 @@ impl<'a> CodeGenerator<'a> {
|
|||
inverse: true,
|
||||
});
|
||||
|
||||
self.when_ir(
|
||||
a,
|
||||
pattern_vec,
|
||||
&mut vec![],
|
||||
pattern_type,
|
||||
&mut clause_properties,
|
||||
scope.clone(),
|
||||
);
|
||||
|
||||
pattern_vec.push(Air::Void { scope: scope.clone() });
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue