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