mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Add stubs for ValTrait.next
This commit is contained in:
@@ -70,6 +70,10 @@ impl ValTrait for NativeFrameFunction {
|
||||
type_error!("Cannot assign to subscript of native function")
|
||||
}
|
||||
|
||||
fn next(&mut self) -> LoadFunctionResult {
|
||||
LoadFunctionResult::NotAFunction
|
||||
}
|
||||
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
write!(f, "\x1b[36m[Function]\x1b[39m")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user