Skip to content

Commit

Permalink
Handle casting of ExternalValue
Browse files Browse the repository at this point in the history
Signed-off-by: Tin Švagelj <[email protected]>
  • Loading branch information
Caellian committed Oct 15, 2024
1 parent 6d41a53 commit f385d66
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 76 deletions.
2 changes: 1 addition & 1 deletion interpreter/src/external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub trait AsValue: Send + Sync {
}

#[inline]
fn to_value(&self, ty: ValueType) -> Option<Value> {
fn to_value(&self, hint: ValueType) -> Option<Value> {
None
}

Expand Down
Loading

0 comments on commit f385d66

Please sign in to comment.