Update ConstraintSystem::dump to check hasType before calling getType.
Update ConstraintSystem::dump to check hasType before calling getType.

We assert if the type isn't in the cache, so we need to check that
before attempting to fetch the type, and return Type() if we
do not have it in the cache.

JGiola/swift,xwu/swift,hooman/swift,benlangmuir/swift,alblue/swift,nathawes/swift,hooman/swift,shajrawi/swift,lorentey/swift,glessard/swift,jmgc/swift,jopamer/swift,nathawes/swift,glessard/swift,ahoppen/swift,harlanhaskins/swift,hooman/swift,hooman/swift,rudkx/swift,hooman/swift,lorentey/swift,danielmartin/swift,jopamer/swift,CodaFi/swift,practicalswift/swift,allevato/swift,aschwaighofer/swift,jmgc/swift,airspeedswift/swift,sschiau/swift,harlanhaskins/swift,parkera/swift,sschiau/swift,alblue/swift,lorentey/swift,natecook1000/swift,practicalswift/swift,practicalswift/swift,airspeedswift/swift,atrick/swift,roambotics/swift,xedin/swift,glessard/swift,stephentyrone/swift,amraboelela/swift,jckarter/swift,shahmishal/swift,devincoughlin/swift,alblue/swift,tkremenek/swift,jckarter/swift,harlanhaskins/swift,rudkx/swift,lorentey/swift,shahmishal/swift,gregomni/swift,tkremenek/swift,austinzheng/swift,xedin/swift,brentdax/swift,roambotics/swift,brentdax/swift,devincoughlin/swift,shajrawi/swift,danielmartin/swift,xedin/swift,roambotics/swift,rudkx/swift,tjw/swift,natecook1000/swift,amraboelela/swift,xwu/swift,lorentey/swift,atrick/swift,brentdax/swift,xedin/swift,huonw/swift,devincoughlin/swift,jopamer/swift,alblue/swift,gribozavr/swift,lorentey/swift,parkera/swift,jmgc/swift,lorentey/swift,glessard/swift,stephentyrone/swift,benlangmuir/swift,shahmishal/swift,alblue/swift,devincoughlin/swift,karwa/swift,gregomni/swift,shajrawi/swift,shajrawi/swift,jopamer/swift,karwa/swift,jmgc/swift,karwa/swift,huonw/swift,shajrawi/swift,CodaFi/swift,JGiola/swift,benlangmuir/swift,xwu/swift,brentdax/swift,sschiau/swift,natecook1000/swift,stephentyrone/swift,jckarter/swift,harlanhaskins/swift,aschwaighofer/swift,huonw/swift,tkremenek/swift,huonw/swift,austinzheng/swift,sschiau/swift,roambotics/swift,tjw/swift,danielmartin/swift,ahoppen/swift,parkera/swift,benlangmuir/swift,practicalswift/swift,jckarter/swift,stephentyrone/swift,shahmishal/swift,brentdax/swift,amraboelela/swift,tkremenek/swift,xwu/swift,apple/swift,sschiau/swift,atrick/swift,JGiola/swift,sschiau/swift,danielmartin/swift,gribozavr/swift,huonw/swift,hooman/swift,practicalswift/swift,CodaFi/swift,ahoppen/swift,huonw/swift,shajrawi/swift,jmgc/swift,jckarter/swift,ahoppen/swift,jmgc/swift,xwu/swift,allevato/swift,parkera/swift,shahmishal/swift,tkremenek/swift,roambotics/swift,glessard/swift,tjw/swift,rudkx/swift,allevato/swift,jopamer/swift,tjw/swift,alblue/swift,practicalswift/swift,stephentyrone/swift,CodaFi/swift,aschwaighofer/swift,aschwaighofer/swift,rudkx/swift,gregomni/swift,atrick/swift,allevato/swift,nathawes/swift,CodaFi/swift,gregomni/swift,jckarter/swift,practicalswift/swift,tkremenek/swift,benlangmuir/swift,allevato/swift,glessard/swift,shajrawi/swift,xwu/swift,aschwaighofer/swift,allevato/swift,gribozavr/swift,jmgc/swift,natecook1000/swift,apple/swift,parkera/swift,xedin/swift,airspeedswift/swift,atrick/swift,ahoppen/swift,allevato/swift,xedin/swift,danielmartin/swift,brentdax/swift,nathawes/swift,airspeedswift/swift,JGiola/swift,lorentey/swift,karwa/swift,gregomni/swift,karwa/swift,nathawes/swift,ahoppen/swift,austinzheng/swift,practicalswift/swift,hooman/swift,jopamer/swift,airspeedswift/swift,harlanhaskins/swift,devincoughlin/swift,jckarter/swift,amraboelela/swift,nathawes/swift,shahmishal/swift,karwa/swift,CodaFi/swift,gribozavr/swift,devincoughlin/swift,harlanhaskins/swift,gribozavr/swift,karwa/swift,natecook1000/swift,danielmartin/swift,gribozavr/swift,parkera/swift,jopamer/swift,sschiau/swift,natecook1000/swift,austinzheng/swift,apple/swift,tjw/swift,danielmartin/swift,benlangmuir/swift,tjw/swift,austinzheng/swift,shahmishal/swift,nathawes/swift,apple/swift,tkremenek/swift,amraboelela/swift,parkera/swift,JGiola/swift,xedin/swift,natecook1000/swift,xedin/swift,shajrawi/swift,gribozavr/swift,tjw/swift,aschwaighofer/swift,JGiola/swift,stephentyrone/swift,devincoughlin/swift,CodaFi/swift,rudkx/swift,airspeedswift/swift,airspeedswift/swift,harlanhaskins/swift,gribozavr/swift,austinzheng/swift,xwu/swift,stephentyrone/swift,brentdax/swift,alblue/swift,parkera/swift,sschiau/swift,atrick/swift,shahmishal/swift,amraboelela/swift,amraboelela/swift,apple/swift,gregomni/swift,huonw/swift,roambotics/swift,apple/swift,karwa/swift,aschwaighofer/swift,austinzheng/swift,devincoughlin/swift