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

Compiler crash on access to protocol function

    XMLWordPrintable

    Details

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

      Xcode 8 beta6

      Description

      The code below is invalid and cause Signal 11 crash

      protocol Test {
          func foo()
      }
      
      let p = Test.foo
      

      Xcode is not helping here too (see attached screenshot), this suggestion should never happen as it's nothing that can be actually used.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              krzyzanowskim Marcin Krzyzanowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: