That contradicts Node's resolution algorithm. `foo` should be preferred. Also, why would you ever do that? 

http://nodejs.org/docs/v0.10.0/api/all.html#all_all_together