implement PLN-0034 internal allocation evidence
This commit is contained in:
@@ -642,7 +642,7 @@ impl VirtualMachine {
|
||||
let mut out = String::with_capacity(a.string_len_hint() + b.string_len_hint());
|
||||
a.append_to_string(&mut out);
|
||||
b.append_to_string(&mut out);
|
||||
Ok(Value::String(out.into()))
|
||||
Ok(Value::string(out))
|
||||
}
|
||||
(Value::Int32(a), Value::Int32(b)) => Ok(Value::Int32(a.wrapping_add(*b))),
|
||||
(Value::Int64(a), Value::Int64(b)) => Ok(Value::Int64(a.wrapping_add(*b))),
|
||||
|
||||
Reference in New Issue
Block a user