Skip to content

Commit

Permalink
Bring back panic in GhostValue.walkRefs to ensure we discover bugs in…
Browse files Browse the repository at this point in the history
… the future
  • Loading branch information
macneale4 committed Jul 24, 2024
1 parent a78f717 commit b07e23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/store/types/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func (g GhostValue) HumanReadableString() string {
}

func (g GhostValue) walkRefs(_ *NomsBinFormat, _ RefCallback) error {
return nil
panic("Error: GhostValue.walkRefs() called.")
}

func (g GhostValue) typeOf() (*Type, error) {
Expand Down

0 comments on commit b07e23c

Please sign in to comment.