Do not test for op-assignment when not ending with '='.
This commit is contained in:
parent
71680e3c77
commit
8b67a9a9bc
@ -295,7 +295,7 @@ impl Engine {
|
||||
None => (),
|
||||
}
|
||||
|
||||
if is_ref {
|
||||
if is_ref && fn_name.ends_with('=') {
|
||||
let (first, second) = args.split_first_mut().unwrap();
|
||||
|
||||
match run_builtin_op_assignment(fn_name, first, second[0])? {
|
||||
|
Loading…
Reference in New Issue
Block a user