Add missing check for ErrorType.
Add missing check for ErrorType.



Swift SVN r2333

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