Add slightly more informative note for list pattern on int.

This commit is contained in:
KtorZ
2023-02-11 17:00:32 +01:00
parent 2e8fd6e1c2
commit b83a247ff7

View File

@@ -1534,7 +1534,7 @@ impl<'a> CodeGenerator<'a> {
Some(item_name)
}
Pattern::Assign { .. } => todo!("Nested assign is not yet done"),
Pattern::Int { .. } => unimplemented!(),
Pattern::Int { .. } => todo!("Nested pattern-match on integers isn't implemented yet. Use when clause-guard as an alternative, or break down the pattern."),
}
}