Report proper errors on item name conflict and write more tests

4c98616
Opened by Roy Frostig at 2011-01-27 00:45:10

Conflicting item names at the same path level currently get caught by assertions in the compiler. Report friendly errors instead. This could also use some more thorough testing, so write a few tests (both failing and not) beyond the current run-pass/item-name-overload.rs and compile-fail/item-name-overload.rs.

  1. WONTFIX (not required for bootstrapping)

    Graydon Hoare at 2011-01-27 00:45:10