Skip to content

Commit

Permalink
fix - cannot encode value Binary to term
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunkerti committed Sep 26, 2024
1 parent ee0d4ae commit 49fba02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions native/explorer/src/encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ pub fn term_from_value<'b>(v: AnyValue, env: Env<'b>) -> Result<Term<'b>, Explor
AnyValue::Null => Ok(None::<bool>.encode(env)),
AnyValue::Boolean(v) => Ok(Some(v).encode(env)),
AnyValue::String(v) => Ok(Some(v).encode(env)),
AnyValue::Binary(v) => Ok(Some(v).encode(env)),
AnyValue::Int8(v) => Ok(Some(v).encode(env)),
AnyValue::Int16(v) => Ok(Some(v).encode(env)),
AnyValue::Int32(v) => Ok(Some(v).encode(env)),
Expand Down

0 comments on commit 49fba02

Please sign in to comment.