mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Fix subscript copying
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user