Umm, no it doesn't. It doesn't even make sense:
A ::: D
A is the attacker, he has no light source, ::: is a 2 square thick wall 5 feet high, D is the defender he does have a light source.
According to your "RAW", A can attack D because D has a light source, thus negating superior cover. D...