Add slightly more informative note for list pattern on int.
This commit is contained in:
@@ -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."),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user