Skip to content

Commit f9d2c27

Browse files
committed
[stdlib] ManagedBuffer: Add @_preInverseGenerics for $Embedded
1 parent f58896c commit f9d2c27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/ManagedBuffer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ open class ManagedBuffer<Header, Element: ~Copyable> {
4848
#if $Embedded
4949
// In embedded mode this initializer has to be public, otherwise derived
5050
// classes cannot be specialized.
51+
@_preInverseGenerics
5152
public init(_doNotCallMe: ()) {
5253
_internalInvariantFailure("Only initialize these by calling create")
5354
}

0 commit comments

Comments
 (0)