Create a nonnull UnsafeRawPointer of underlying rawValue 0

That trap is only relevant when force-unwrapping the optional value. If you don't force-unwrap it, the trap instruction shouldn't be emitted.

1 Like