Clean up isInstanceMember()-related checking in the type checker.
Clean up isInstanceMember()-related checking in the type checker.

Thanks, Jordan. Properly bans references to types within objects.


Swift SVN r10389

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