diff --git a/types/objc/class.go b/types/objc/class.go index 7b7e7e8..8e7d1fb 100644 --- a/types/objc/class.go +++ b/types/objc/class.go @@ -150,7 +150,9 @@ func (c *Class) dump(verbose, addrs bool) string { } class += fmt.Sprintf("<%s>", strings.Join(subProts, ", ")) } - class += fmt.Sprintf(" {") + if len(c.Ivars) > 0 { + class += fmt.Sprintf(" {") + } if verbose { var comment string if addrs {