The self type behind a DynamicSelf for a protocol is 'Self', not the protocol.
The self type behind a DynamicSelf for a protocol is 'Self', not the protocol.

We can now emit witness tables for conformances to protocols
containing DynamicSelf methods.

This temporarily "breaks" uses of DynamicSelf methods on
existentials. We'll come back to that.


Swift SVN r13310

modocache/swift,SwiftAndroid/swift,tinysun212/swift-windows,cbrentharris/swift,huonw/swift,apple/swift,sdulal/swift,ben-ng/swift,frootloops/swift,amraboelela/swift,stephentyrone/swift,danielmartin/swift,Ivacker/swift,johnno1962d/swift,xwu/swift,OscarSwanros/swift,tjw/swift,kusl/swift,devincoughlin/swift,karwa/swift,felix91gr/swift,OscarSwanros/swift,adrfer/swift,natecook1000/swift,codestergit/swift,emilstahl/swift,huonw/swift,khizkhiz/swift,kstaring/swift,djwbrown/swift,tinysun212/swift-windows,nathawes/swift,tkremenek/swift,therealbnut/swift,Jnosh/swift,OscarSwanros/swift,austinzheng/swift,airspeedswift/swift,ken0nek/swift,tkremenek/swift,hooman/swift,aschwaighofer/swift,calebd/swift,ben-ng/swift,JaSpa/swift,return/swift,hooman/swift,brentdax/swift,atrick/swift,tinysun212/swift-windows,uasys/swift,parkera/swift,bitjammer/swift,sdulal/swift,benlangmuir/swift,KrishMunot/swift,xwu/swift,mightydeveloper/swift,mightydeveloper/swift,milseman/swift,KrishMunot/swift,harlanhaskins/swift,austinzheng/swift,emilstahl/swift,therealbnut/swift,airspeedswift/swift,IngmarStein/swift,ben-ng/swift,apple/swift,LeoShimonaka/swift,alblue/swift,return/swift,therealbnut/swift,cbrentharris/swift,benlangmuir/swift,ahoppen/swift,kperryua/swift,gmilos/swift,benlangmuir/swift,tjw/swift,dduan/swift,zisko/swift,aschwaighofer/swift,devincoughlin/swift,JaSpa/swift,tardieu/swift,lorentey/swift,apple/swift,rudkx/swift,cbrentharris/swift,CodaFi/swift,tjw/swift,felix91gr/swift,manavgabhawala/swift,swiftix/swift.old,gribozavr/swift,milseman/swift,frootloops/swift,devincoughlin/swift,LeoShimonaka/swift,JGiola/swift,roambotics/swift,gmilos/swift,tardieu/swift,OscarSwanros/swift,kperryua/swift,brentdax/swift,KrishMunot/swift,xedin/swift,gregomni/swift,harlanhaskins/swift,stephentyrone/swift,kstaring/swift,nathawes/swift,lorentey/swift,benlangmuir/swift,IngmarStein/swift,shajrawi/swift,ben-ng/swift,modocache/swift,gribozavr/swift,alblue/swift,kentya6/swift,slavapestov/swift,allevato/swift,kperryua/swift,gottesmm/swift,JaSpa/swift,deyton/swift,arvedviehweger/swift,harlanhaskins/swift,harlanhaskins/swift,devincoughlin/swift,amraboelela/swift,atrick/swift,hooman/swift,Jnosh/swift,xwu/swift,airspeedswift/swift,harlanhaskins/swift,uasys/swift,zisko/swift,MukeshKumarS/Swift,manavgabhawala/swift,JaSpa/swift,dreamsxin/swift,swiftix/swift,cbrentharris/swift,dduan/swift,swiftix/swift,slavapestov/swift,kusl/swift,JGiola/swift,shahmishal/swift,karwa/swift,frootloops/swift,dduan/swift,dduan/swift,sdulal/swift,kusl/swift,amraboelela/swift,slavapestov/swift,ahoppen/swift,slavapestov/swift,Ivacker/swift,CodaFi/swift,shahmishal/swift,LeoShimonaka/swift,xedin/swift,johnno1962d/swift,allevato/swift,uasys/swift,parkera/swift,shajrawi/swift,johnno1962d/swift,cbrentharris/swift,sschiau/swift,harlanhaskins/swift,tinysun212/swift-windows,Jnosh/swift,danielmartin/swift,khizkhiz/swift,slavapestov/swift,stephentyrone/swift,calebd/swift,uasys/swift,bitjammer/swift,tardieu/swift,xedin/swift,roambotics/swift,LeoShimonaka/swift,codestergit/swift,kentya6/swift,modocache/swift,hughbe/swift,jckarter/swift,johnno1962d/swift,shajrawi/swift,mightydeveloper/swift,zisko/swift,austinzheng/swift,natecook1000/swift,dduan/swift,therealbnut/swift,emilstahl/swift,stephentyrone/swift,shahmishal/swift,benlangmuir/swift,codestergit/swift,djwbrown/swift,sschiau/swift,tardieu/swift,IngmarStein/swift,therealbnut/swift,kstaring/swift,nathawes/swift,LeoShimonaka/swift,mightydeveloper/swift,codestergit/swift,gottesmm/swift,xwu/swift,parkera/swift,aschwaighofer/swift,apple/swift,jckarter/swift,modocache/swift,lorentey/swift,austinzheng/swift,johnno1962d/swift,kusl/swift,djwbrown/swift,ben-ng/swift,stephentyrone/swift,zisko/swift,manavgabhawala/swift,airspeedswift/swift,gribozavr/swift,xedin/swift,rudkx/swift,CodaFi/swift,jckarter/swift,ahoppen/swift,gmilos/swift,slavapestov/swift,allevato/swift,djwbrown/swift,tjw/swift,return/swift,Ivacker/swift,calebd/swift,bitjammer/swift,swiftix/swift,Jnosh/swift,nathawes/swift,adrfer/swift,uasys/swift,tkremenek/swift,xwu/swift,natecook1000/swift,sschiau/swift,Ivacker/swift,allevato/swift,codestergit/swift,adrfer/swift,glessard/swift,practicalswift/swift,khizkhiz/swift,SwiftAndroid/swift,allevato/swift,manavgabhawala/swift,felix91gr/swift,calebd/swift,glessard/swift,hughbe/swift,jmgc/swift,jopamer/swift,danielmartin/swift,tjw/swift,KrishMunot/swift,jtbandes/swift,ken0nek/swift,felix91gr/swift,lorentey/swift,ahoppen/swift,arvedviehweger/swift,huonw/swift,hooman/swift,jopamer/swift,zisko/swift,gmilos/swift,shajrawi/swift,gribozavr/swift,huonw/swift,kentya6/swift,swiftix/swift.old,practicalswift/swift,jckarter/swift,parkera/swift,tinysun212/swift-windows,jopamer/swift,practicalswift/swift,allevato/swift,brentdax/swift,manavgabhawala/swift,karwa/swift,shahmishal/swift,uasys/swift,harlanhaskins/swift,nathawes/swift,bitjammer/swift,gregomni/swift,djwbrown/swift,swiftix/swift.old,SwiftAndroid/swift,practicalswift/swift,jtbandes/swift,deyton/swift,kperryua/swift,emilstahl/swift,emilstahl/swift,djwbrown/swift,apple/swift,Jnosh/swift,adrfer/swift,gottesmm/swift,kstaring/swift,swiftix/swift,kusl/swift,sdulal/swift,MukeshKumarS/Swift,karwa/swift,swiftix/swift.old,deyton/swift,sdulal/swift,cbrentharris/swift,swiftix/swift.old,KrishMunot/swift,natecook1000/swift,rudkx/swift,jmgc/swift,arvedviehweger/swift,jmgc/swift,alblue/swift,frootloops/swift,russbishop/swift,jckarter/swift,aschwaighofer/swift,glessard/swift,JaSpa/swift,adrfer/swift,ahoppen/swift,Ivacker/swift,JaSpa/swift,hooman/swift,gregomni/swift,hughbe/swift,xedin/swift,kentya6/swift,tinysun212/swift-windows,amraboelela/swift,jopamer/swift,frootloops/swift,austinzheng/swift,jmgc/swift,johnno1962d/swift,sschiau/swift,shajrawi/swift,OscarSwanros/swift,khizkhiz/swift,karwa/swift,xedin/swift,parkera/swift,modocache/swift,hughbe/swift,bitjammer/swift,return/swift,kstaring/swift,allevato/swift,OscarSwanros/swift,aschwaighofer/swift,huonw/swift,return/swift,tjw/swift,jtbandes/swift,aschwaighofer/swift,kentya6/swift,SwiftAndroid/swift,russbishop/swift,alblue/swift,arvedviehweger/swift,kstaring/swift,kperryua/swift,khizkhiz/swift,jckarter/swift,MukeshKumarS/Swift,xwu/swift,SwiftAndroid/swift,milseman/swift,brentdax/swift,arvedviehweger/swift,roambotics/swift,calebd/swift,codestergit/swift,manavgabhawala/swift,austinzheng/swift,jtbandes/swift,Ivacker/swift,frootloops/swift,lorentey/swift,tjw/swift,felix91gr/swift,JGiola/swift,ben-ng/swift,jmgc/swift,glessard/swift,emilstahl/swift,emilstahl/swift,manavgabhawala/swift,bitjammer/swift,roambotics/swift,xwu/swift,sdulal/swift,benlangmuir/swift,tardieu/swift,LeoShimonaka/swift,ken0nek/swift,parkera/swift,russbishop/swift,danielmartin/swift,felix91gr/swift,danielmartin/swift,mightydeveloper/swift,CodaFi/swift,hughbe/swift,ben-ng/swift,austinzheng/swift,zisko/swift,gottesmm/swift,adrfer/swift,karwa/swift,devincoughlin/swift,shahmishal/swift,frootloops/swift,khizkhiz/swift,nathawes/swift,karwa/swift,tkremenek/swift,KrishMunot/swift,milseman/swift,LeoShimonaka/swift,OscarSwanros/swift,calebd/swift,kentya6/swift,russbishop/swift,Jnosh/swift,gmilos/swift,djwbrown/swift,khizkhiz/swift,kusl/swift,MukeshKumarS/Swift,nathawes/swift,alblue/swift,CodaFi/swift,rudkx/swift,codestergit/swift,gribozavr/swift,Ivacker/swift,practicalswift/swift,hughbe/swift,brentdax/swift,Ivacker/swift,deyton/swift,modocache/swift,brentdax/swift,mightydeveloper/swift,gmilos/swift,tkremenek/swift,JaSpa/swift,jopamer/swift,CodaFi/swift,dduan/swift,bitjammer/swift,xedin/swift,tkremenek/swift,swiftix/swift.old,airspeedswift/swift,IngmarStein/swift,milseman/swift,ken0nek/swift,modocache/swift,amraboelela/swift,russbishop/swift,sdulal/swift,return/swift,sschiau/swift,calebd/swift,lorentey/swift,hooman/swift,sschiau/swift,kusl/swift,airspeedswift/swift,ken0nek/swift,LeoShimonaka/swift,apple/swift,lorentey/swift,uasys/swift,jckarter/swift,deyton/swift,kperryua/swift,alblue/swift,therealbnut/swift,IngmarStein/swift,shahmishal/swift,gregomni/swift,felix91gr/swift,deyton/swift,cbrentharris/swift,parkera/swift,arvedviehweger/swift,IngmarStein/swift,devincoughlin/swift,swiftix/swift.old,huonw/swift,glessard/swift,JGiola/swift,shahmishal/swift,JGiola/swift,parkera/swift,tkremenek/swift,rudkx/swift,rudkx/swift,JGiola/swift,CodaFi/swift,alblue/swift,adrfer/swift,ken0nek/swift,gribozavr/swift,gottesmm/swift,mightydeveloper/swift,shajrawi/swift,stephentyrone/swift,gottesmm/swift,danielmartin/swift,danielmartin/swift,swiftix/swift,practicalswift/swift,dduan/swift,huonw/swift,hughbe/swift,arvedviehweger/swift,gmilos/swift,tardieu/swift,natecook1000/swift,sdulal/swift,jtbandes/swift,therealbnut/swift,IngmarStein/swift,shahmishal/swift,slavapestov/swift,shajrawi/swift,brentdax/swift,return/swift,jtbandes/swift,dreamsxin/swift,gottesmm/swift,roambotics/swift,mightydeveloper/swift,russbishop/swift,shajrawi/swift,SwiftAndroid/swift,hooman/swift,atrick/swift,sschiau/swift,kentya6/swift,jopamer/swift,jopamer/swift,karwa/swift,tinysun212/swift-windows,SwiftAndroid/swift,practicalswift/swift,MukeshKumarS/Swift,swiftix/swift.old,roambotics/swift,kstaring/swift,practicalswift/swift,Jnosh/swift,lorentey/swift,sschiau/swift,zisko/swift,jmgc/swift,jmgc/swift,cbrentharris/swift,amraboelela/swift,gribozavr/swift,kusl/swift,johnno1962d/swift,tardieu/swift,stephentyrone/swift,MukeshKumarS/Swift,russbishop/swift,natecook1000/swift,emilstahl/swift,milseman/swift,devincoughlin/swift,natecook1000/swift,KrishMunot/swift,gribozavr/swift,swiftix/swift,ahoppen/swift,devincoughlin/swift,kperryua/swift,jtbandes/swift,amraboelela/swift,milseman/swift,ken0nek/swift,gregomni/swift,deyton/swift,airspeedswift/swift,aschwaighofer/swift,gregomni/swift,atrick/swift,MukeshKumarS/Swift,atrick/swift,swiftix/swift,xedin/swift,glessard/swift,kentya6/swift,atrick/swift