Skip to content

When trying to import two types with the same name, say which line the first one was imported on #20591

Closed
@nstoddard

Description

@nstoddard

Right now, you can get errors like "a type named Primitive has already been imported in this module", which isn't very helpful. The error message would be much more helpful if it would tell you which line the other Primitive type was imported on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions