Uploaded image for project: 'Swift'
  1. Swift
  2. SR-1275

Implement SE-0025 - Scoped Access Level

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: Compiler
    • Labels:
      None

      Description

      SE-0025 has been accepted, and needs an implementation. This involves several pieces of work:

      Introduce a new "fileprivate" declmodifier, which has the Swift 2.2 "private" semantics.
      Rework "private" decls to only being visible within their scope, not within the current file.
      Implement fixit/migration hint to indicate whether a "private" decl should be marked fileprivate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rwidmann Robert Widmann
                Reporter:
                clattner Chris Lattner
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: