Skip to content
This repository was archived by the owner on Dec 17, 2022. It is now read-only.

Commit 976f6aa

Browse files
committed
fix(vm): pass non-pointer values as arguments
1 parent d06548a commit 976f6aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

brane-vm/src/machine.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ impl Machine {
9797
arguments.insert(name.clone(), value);
9898
}
9999
},
100-
_ => unimplemented!()
100+
_ => {
101+
arguments.insert(name.clone(), value.clone());
102+
}
101103
}
102104
}
103105

0 commit comments

Comments
 (0)