File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
test/api-digester/Outputs Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ extension Optional where Wrapped: ~Copyable {
320
320
}
321
321
}
322
322
323
- extension Optional where Wrapped : ~ Escapable {
323
+ extension Optional {
324
324
/// The wrapped value of this instance, unwrapped without checking whether
325
325
/// the instance is `nil`.
326
326
///
@@ -345,9 +345,11 @@ extension Optional where Wrapped: ~Escapable {
345
345
/// will never be equal to `nil` and only after you've tried using the
346
346
/// postfix `!` operator.
347
347
@inlinable
348
- @_preInverseGenerics
349
348
@unsafe
350
349
public var unsafelyUnwrapped : Wrapped {
350
+ // FIXME: Generalize this for ~Escapable wrapped types. Unfortunately this
351
+ // currently hides it from C++ interop, breaking the stdlib overlay.
352
+ // (rdar://145800780)
351
353
@inline ( __always)
352
354
get {
353
355
if let x = self {
Original file line number Diff line number Diff line change @@ -367,7 +367,6 @@ Struct CollectionOfOne is now with @_addressableForDependencies
367
367
Protocol CodingKey has added inherited protocol SendableMetatype
368
368
Protocol Error has added inherited protocol SendableMetatype
369
369
370
- Accessor Optional.unsafelyUnwrapped.Get() has generic signature change from <Wrapped> to <Wrapped where Wrapped : ~Escapable>
371
370
Accessor UnsafeBufferPointer.indices.Get() has generic signature change from <Element> to <Element where Element : ~Copyable>
372
371
Accessor UnsafeMutableBufferPointer.indices.Get() has generic signature change from <Element> to <Element where Element : ~Copyable>
373
372
You can’t perform that action at this time.
0 commit comments