Fix subscript copying

This commit is contained in:
Andrew Morris
2023-06-20 13:50:15 +10:00
parent 72191319b2
commit 6340db8794
22 changed files with 203 additions and 141 deletions

View File

@@ -80,7 +80,7 @@ impl ValTrait for NativeFunction {
LoadFunctionResult::NativeFunction(self.fn_)
}
fn sub(&self, _key: Val) -> Result<Val, Val> {
fn sub(&self, _key: &Val) -> Result<Val, Val> {
Err("TODO: Subscript native function".to_error())
}