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

Temporarily ban `Self` exposure from classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:
      None
    • Environment:

      Development Snapshot 2019-04-04-a

      Description

      As per this thread:

      https://forums.swift.org/t/is-it-just-me-or-did-we-end-up-having-partly-staticself-in-swift/22752/5

      Slava Pestov said that this feature should not be made available with the first implementation of SE-0068.

      class A {
        typealias _Self = Self
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            DevAndArtist Adrian Meister
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: