✅ Phase 1 Complete: Fixed weak reference bug with dynamic ID parsing
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
@ -93,6 +93,14 @@ impl NyashInterpreter {
|
||||
}
|
||||
Ok(Box::new(BoolBox::new(false)))
|
||||
}
|
||||
"toString" => {
|
||||
if !arg_values.is_empty() {
|
||||
return Err(RuntimeError::InvalidOperation {
|
||||
message: format!("toString() expects 0 arguments, got {}", arg_values.len()),
|
||||
});
|
||||
}
|
||||
Ok(Box::new(StringBox::new("null".to_string())))
|
||||
}
|
||||
"equals" => {
|
||||
if arg_values.len() != 1 {
|
||||
return Err(RuntimeError::InvalidOperation {
|
||||
|
||||
Reference in New Issue
Block a user