mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-25 12:59:11 +00:00
fix that inc on list was no longer recursive
This commit is contained in:
parent
dc77c702c5
commit
05a9b4d601
3 changed files with 47 additions and 18 deletions
|
@ -45,6 +45,10 @@ impl HelperOp {
|
|||
fn is_dec(&self) -> bool {
|
||||
matches!(self, Self::Dec)
|
||||
}
|
||||
|
||||
fn is_inc(&self) -> bool {
|
||||
matches!(self, Self::Inc)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue