Skip to content

Conversation

@stephencelis
Copy link
Member

Fixes #27.

indent: Int,
maxDepth: Int
) where TargetStream: TextOutputStream {
if T.self is AnyObject.Type, withUnsafeBytes(of: value, { $0.allSatisfy { $0 == 0 } }) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if there's a better check than this 😕

@stephencelis stephencelis merged commit 21f8fdb into main Oct 13, 2021
@stephencelis stephencelis deleted the fix-null-ptr branch October 13, 2021 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NSNumber crashes CustomDump

3 participants