Handle broken closures more gracefully.
Handle broken closures more gracefully.

Fixes <rdar://problem/15367882>.


Swift SVN r10596

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