mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 00:46:07 +00:00
Refactor code to use object-oriented programming (OOP) for numbers
This commit is contained in:
@@ -380,7 +380,6 @@ func Number(number compiledNumber) ArObject {
|
||||
return nil, ArErr{"Type Error", "expected number, got " + typeof(a[0]), 0, "", "", true}
|
||||
},
|
||||
}
|
||||
val.obj
|
||||
|
||||
case *big.Rat:
|
||||
val.obj["__string__"] = builtinFunc{
|
||||
|
||||
Reference in New Issue
Block a user