add type aliases, rework compiler, remove optimization

This commit is contained in:
Neemek 2026-07-12 11:34:17 +02:00
parent 94b12f28ab
commit d54249cffe
Signed by: neemek
GPG key ID: 84FFE4D7D40AB25E
12 changed files with 869 additions and 1597 deletions

View file

@ -223,8 +223,8 @@ func (v *ObjectValue) Equals(other Value) bool {
return true
}
var ObjectPrototype = map[string]Value{
"set": &BuiltinFunctionValue{
var ObjectPrototype = map[string]*BuiltinFunctionValue{
"set": {
"set",
&FunctionSignature{
[]TypeSignature{&StringSignature{}, &ListSignature{}},