Teach name lookup to shadow factory-method-imported constructors with init-method-imported ones.
Teach name lookup to shadow factory-method-imported constructors with init-method-imported ones.

There is no way to avoid having both the factory-method-imported
constructor and the init-method-imported constructor show up in the
AST (which could happen in the REPL when subsequent modules are
loaded), so cope with the problem directly. Still, we can do somewhat
better here if we can suppress redundant declarations in the general
case and use "available" in the uncommon case.


Swift SVN r16495

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