Post

Replies

Boosts

Views

Activity

Xcode: String interpolation / String(describing:) automatic fix broken
Hi! imagine this guard let foo = bar.baz else { print("\(foo.value)") return foo.value } I get Xcode error String interpolation produces a debug description for an optional value; did you mean to make this explicit? with the fixing option: Use 'String(describing:)' to silence this warning When I click Fix button I got: guard let foo = bar.baz else { print("\(foString(describing: o.value)")) return foo.value } The automatic completion is broken. Is it a known bug or there is something wrong with me? ;) Xcode version 15.3 (15E204a) macOS Sonoma 14.4.1 (23E224) Apple M1 Pro
1
0
268
Apr ’24