Fix a bug emitting the definition of a generic constructor on a class.
Fix a bug emitting the definition of a generic constructor on a class.

NewReferenceExprs referencing generic constructors still don't work;
I'm having trouble following how the code is supposed to work.



Swift SVN r2441

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