Skip to content

Report proper errors on item name conflict and write more tests #65

Closed
@froystig

Description

@froystig

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions