fix sema to properly compute the varargs injection function for the ScalarToTuple that results from something like "var d : (Int, Int...) = 42".
fix sema to properly compute the varargs injection function for the
ScalarToTuple that results from something like "var d : (Int, Int...) = 42".

IRGen still crashes on this example, but that will be magically fixed someday
when it cuts over to using the CFG.


Swift SVN r3031

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