Merge branch 'plugins_dev' of https://github.com/schungx/rhai into plugins_dev
This commit is contained in:
commit
d8d3b52d64
@ -666,7 +666,8 @@ impl ExportedFn {
|
||||
is_string = true;
|
||||
is_ref = false;
|
||||
quote_spanned!(arg_type.span()=>
|
||||
mem::take(args[#i]).take_string().unwrap())
|
||||
mem::take(args[#i])
|
||||
.clone().cast::<#arg_type>())
|
||||
}
|
||||
_ => {
|
||||
is_string = false;
|
||||
|
Loading…
Reference in New Issue
Block a user