Refactor Type to be an int
This commit is contained in:
@@ -12,8 +12,8 @@ func (m Module) String() string {
|
||||
return m.Inspect()
|
||||
}
|
||||
|
||||
func (m Module) Type() ObjectType {
|
||||
return MODULE_OBJ
|
||||
func (m Module) Type() Type {
|
||||
return ModuleType
|
||||
}
|
||||
|
||||
func (m Module) Bool() bool {
|
||||
|
||||
Reference in New Issue
Block a user