Skip to content

Commit

Permalink
Arity -> ValueOrSource
Browse files Browse the repository at this point in the history
  • Loading branch information
ecton committed Jul 31, 2024
1 parent bca011b commit ce0bf58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vm/bitcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ impl From<()> for ValueOrSource {
}
}

impl From<Arity> for ValueOrSource {
fn from(value: Arity) -> Self {
Self::from(value.0)
}
}

impl TryFrom<Literal> for ValueOrSource {
type Error = Symbol;

Expand Down

0 comments on commit ce0bf58

Please sign in to comment.