mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 17:06:07 +00:00
fix up inconsistent error types
This commit is contained in:
@@ -76,7 +76,7 @@ func runVal(line any, stack stack, stacklevel int) (any, ArErr) {
|
||||
return y, ArErr{}
|
||||
}
|
||||
return nil, ArErr{
|
||||
TYPE: "TypeError",
|
||||
TYPE: "Type Error",
|
||||
message: "cannot negate a non-number",
|
||||
EXISTS: true,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user