replace discard assignment with nothing

This commit is contained in:
Kasey White 2023-01-11 03:50:33 -05:00 committed by Lucas
parent e61a56566d
commit eac8f7a80e
1 changed files with 1 additions and 3 deletions

View File

@ -1449,9 +1449,7 @@ impl<'a> CodeGenerator<'a> {
}
Pattern::VarUsage { .. } => todo!(),
Pattern::Assign { .. } => todo!(),
Pattern::Discard { .. } => {
self.pattern_ir(pattern, pattern_vec, value_vec, tipo, scope)
}
Pattern::Discard { .. } => {}
list @ Pattern::List { .. } => {
self.pattern_ir(list, pattern_vec, value_vec, tipo, scope);
}