Skip to content

Commit

Permalink
when Fvalue=nil for type [B, emit a better msg
Browse files Browse the repository at this point in the history
  • Loading branch information
texadactyl committed Nov 12, 2023
1 parent dbbfa13 commit e811e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func fmtHelper(klassString string, field Field) string {
case types.ByteArray, types.Static + types.ByteArray:
fvalue := field.Fvalue
if fvalue == nil {
return "<ERROR nil Fvalue ptr!>"
return "<ERROR nil Fvalue!>"
}
bytesPtr := fvalue.(*[]byte)
if bytesPtr == nil {
Expand Down

0 comments on commit e811e18

Please sign in to comment.