Skip to content

[stdlib] Mark public classes as 'open'. #3876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/public/core/ManagedBuffer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import SwiftShims
/// any live elements in the `deinit` of a subclass.
/// - Note: Subclasses must not have any stored properties; any storage
/// needed should be included in `Header`.
public class ManagedBuffer<Header, Element> {
open class ManagedBuffer<Header, Element> {

/// Create a new instance of the most-derived class, calling
/// `factory` on the partially-constructed object to generate
Expand Down
6 changes: 4 additions & 2 deletions stdlib/public/core/Runtime.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,15 @@ class _SwiftNativeNSSet {}
@objc @_swift_native_objc_runtime_base(_SwiftNativeNSEnumeratorBase)
class _SwiftNativeNSEnumerator {}

// FIXME(ABI): move into the Foundation overlay and remove 'open'
@objc @_swift_native_objc_runtime_base(_SwiftNativeNSDataBase)
public class _SwiftNativeNSData {
open class _SwiftNativeNSData {
public init() {}
}

// FIXME(ABI): move into the Foundation overlay and remove 'open'
@objc @_swift_native_objc_runtime_base(_SwiftNativeNSCharacterSetBase)
public class _SwiftNativeNSCharacterSet {
open class _SwiftNativeNSCharacterSet {
public init() {}
}

Expand Down