mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Migrate from UnsafePointer<Void> to UnsafeRawPointer. (#3724)"
This reverts commit ece0951924.
This results in lldb failues on linux that I can't readily debug.
Backing out until they can be resolved.
This commit is contained in:
@@ -172,7 +172,7 @@ takeArrayRef(["asdf", "1234"]) // expected-error{{contextual type 'inout Array<S
|
||||
|
||||
// <rdar://problem/19835413> Reference to value from array changed
|
||||
func rdar19835413() {
|
||||
func f1(_ p: UnsafeMutableRawPointer) {}
|
||||
func f1(_ p: UnsafeMutablePointer<Void>) {}
|
||||
func f2(_ a: [Int], i: Int, pi: UnsafeMutablePointer<Int>) {
|
||||
var a = a
|
||||
f1(&a)
|
||||
|
||||
Reference in New Issue
Block a user