[SR-9777] SourceKit's 'editor open' request not returning correct accessibility value in Swift 5 #52203
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Additional Detail from JIRA
md5: c83ce94350f84a6accca1bec8eed73bc
Issue Description:
For instance members of a
private
type with no explicit ACL annotation, SourceKit from Swift 4.x correctly inferred an ACL ofprivate
.SourceKit from the Swift 5 preview included in Xcode 10.2 beta 1 incorrectly infers an ACL of
internal
.I believe this to be a regression in Swift 5 compared to Swift 4.2.1 (and versions going back quite a bit, at least to 4.0 if not earlier).
Note that I'm just using 3rd party tools like SourceKitten and jq to simplify this demonstration, this problem is present without them.
The text was updated successfully, but these errors were encountered: