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

Crash while emitting SIL for curried call to protocol instance method

    XMLWordPrintable

    Details

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

      Version 10.1 (10B61), late December master

      Description

      protocol P {
        func foo()
      }
      class A: P {
        func foo() {print("Hello")}
      }
      
      func roo() {
        P.foo(A())() // Here
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              anthonylatsis Anthony Latsis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: