Skip to content

Commit 8b60ed8

Browse files
committed
🐛 fix: missing func type
1 parent 27e5375 commit 8b60ed8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src-tauri/src/core/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ pub fn evaluate_with_mutable_context(
2424

2525
decl_func!(
2626
addone,
27+
FunctionType::Std,
2728
|v: Value| Value::add(v, Value::from(1)),
2829
ValueType::FloatType
2930
);

0 commit comments

Comments
 (0)