Summary
In SE-0458, the new unsafe expression has been added. However, swift-format still can't handle it correctly.
Prerequisites
Steps to reproduce
- Create
test.swift
_ = unsafe UnsafeRawPointer(bitPattern: 0)
- Run
swift-format format test.swift
Expected output
_ = unsafe UnsafeRawPointer(bitPattern: 0)
Actual output
It breaks the source code.
_ = unsafeUnsafeRawPointer(bitPattern: 0)