Refactor Type to be an int
This commit is contained in:
@@ -11,8 +11,8 @@ func (b *Builtin) Bool() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (b *Builtin) Type() ObjectType {
|
||||
return BUILTIN_OBJ
|
||||
func (b *Builtin) Type() Type {
|
||||
return BuiltinType
|
||||
}
|
||||
|
||||
func (b *Builtin) Inspect() string {
|
||||
|
||||
Reference in New Issue
Block a user