Assigning variable to itself: fix a bug where we did not handle member experssions with a complex base correctly
Assigning variable to itself: fix a bug where we did not handle member
experssions with a complex base correctly

rdar://15405383


Swift SVN r10002

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