Skip to content

Commit

Permalink
fix: Add TypeEnum and TypeEnumVariant to value display method
Browse files Browse the repository at this point in the history
  • Loading branch information
MikMuellerDev committed Apr 12, 2023
1 parent 727d671 commit e78ed7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions homescript/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ func (self ValueType) String() string {
return "function"
case TypeBuiltinVariable:
return "builtinVariable"
case TypeEnum:
return "enum"
case TypeEnumVariant:
return "enumVariant"
default:
// Unreachable
panic("BUG: A new type was introduced without updating this code")
Expand Down

0 comments on commit e78ed7c

Please sign in to comment.