Add a "diagnose()" method to SemaCoerce for coercion-related diagnostics, rather than going directly to the type checker's similar method.
Add a "diagnose()" method to SemaCoerce for coercion-related
diagnostics, rather than going directly to the type checker's similar
method.


Swift SVN r1301

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