When replacing a type variable with its bound type in the constraint-based type checker, make sure to recursively simplify the replacement type.
When replacing a type variable with its bound type in the
constraint-based type checker, make sure to recursively simplify the
replacement type.


Swift SVN r2791

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