Skip to content

Commit f385d66

Browse files
committed
Handle casting of ExternalValue
Signed-off-by: Tin Švagelj <[email protected]>
1 parent 6d41a53 commit f385d66

File tree

2 files changed

+268
-76
lines changed

2 files changed

+268
-76
lines changed

interpreter/src/external.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub trait AsValue: Send + Sync {
2828
}
2929

3030
#[inline]
31-
fn to_value(&self, ty: ValueType) -> Option<Value> {
31+
fn to_value(&self, hint: ValueType) -> Option<Value> {
3232
None
3333
}
3434

0 commit comments

Comments
 (0)