Skip to content

Importing a nonexistent item does not cause compilation to fail #2937

Closed

Description

Here's the test case from #2123. It used to just crash with a poor error message, but now it doesn't fail at all despite the lack of anything named m::f.

import x = m::f;

mod m {
}

fn main() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-resolveArea: Name resolution

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions