Skip to content

Commit

Permalink
Merge pull request #25 from eneoli/ui/prop-prompts-with-params
Browse files Browse the repository at this point in the history
reapaired tests
  • Loading branch information
eneoli authored Aug 10, 2024
2 parents 1891a99 + c2704d0 commit c6fc6f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kernel/prop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ impl Prop {
Prop::Atom(_, params) => {
let param_limit = index - *current_index + 1;
if params.len() < param_limit {
*current_index += params.len();
return;
}

Expand All @@ -322,6 +323,7 @@ impl Prop {
};

*param = PropParameter::Instantiated(substitutor.clone());
*current_index = index;
}
}
}
Expand Down

0 comments on commit c6fc6f1

Please sign in to comment.