michaeldorner/ByteBackpacker

Reference type check

Closed this issue · 1 comments

assert(!(T.self is AnyObject), referenceTypeErrorString) does not work anymore in Swift 3.

It says

is test is always true

Any suggestions for how to make sure that only value types are converted and no reference types?

Resolved.