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

Compiler crashes with `protocol P { func f() }; type(of: P.f)`

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: Compiler
    • Labels:
      None
    • Environment:

      Swift 4.0

      swift-4.1-DEVELOPMENT-SNAPSHOT-2017-10-25-a

      Description

      Compiler crashes with:

      protocol P { func f() }
      type(of: P.f)
      

      Also with dump()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              norio_nomura Norio Nomura
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: