Refactor Type to be an int
This commit is contained in:
@@ -6,8 +6,8 @@ func (n *Null) Bool() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (n *Null) Type() ObjectType {
|
||||
return NULL_OBJ
|
||||
func (n *Null) Type() Type {
|
||||
return NullType
|
||||
}
|
||||
|
||||
func (n *Null) Inspect() string {
|
||||
|
||||
Reference in New Issue
Block a user