Fix a problem where we didn't bind anondecls early enough which prevented them from getting their types when in nested closures.  For example, var test : int->int->int = _0;
Fix a problem where we didn't bind anondecls early enough which prevented them from getting their types when in nested closures.  For example,
var test : int->int->int = _0;

now sema's to:

(vardecl 'test' type='int -> int -> int'
 (closure_expr type='int -> int -> int'
   (anondecl '_0' type='int')
   (closure_expr type='int -> int'
     (declref_expr type='int' decl=_0))))


Swift SVN r155

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