Fix feature builds.

This commit is contained in:
Stephen Chung
2021-03-22 12:18:13 +08:00
parent a82f0fc738
commit 22ff68cdc9
3 changed files with 8 additions and 14 deletions

View File

@@ -130,7 +130,7 @@ pub fn get_builtin_binary_op_fn(
return Some(|_, args| {
let x = <$base>::from(args[0].$xx().unwrap());
let y = <$base>::from(args[1].$yy().unwrap());
$func(x, y)
$func(x, y).map(Into::<Dynamic>::into)
})
};
}