mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
...which isn't quite working yet. Because we cache the results of top-level lookups into modules, we can't see testable decls at the top level yet. However, I think that's the only known issue with testability at this point, so we can move ahead with the feature. Swift SVN r26846
9 lines
200 B
Swift
9 lines
200 B
Swift
public struct PublicStruct {
|
|
public func publicMethod() {}
|
|
internal func internalMethod() {}
|
|
private func privateMethod() {}
|
|
}
|
|
|
|
internal struct InternalStruct {}
|
|
private struct PrivateStruct {}
|