Skip to content

Commit 27348f2

Browse files
committed
fix: A none option now also outputs none when Display is called
1 parent 721a946 commit 27348f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

homescript/interpreter/value/valueOption.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (self ValueOption) Display() (string, *Interrupt) {
2626
}
2727
return fmt.Sprintf("Some(%s)", disp), nil
2828
case false:
29-
return "null", nil
29+
return "none", nil
3030
}
3131
panic("A boolean is binary")
3232
}

0 commit comments

Comments
 (0)