Skip to content

Is there any reason to allow 'import name;' #1116

Closed
@marijnh

Description

@marijnh

Where name is a single identifier without module path.

If the import can see it, it was already visible, so importing doesn't help. Thus, we can simply ignore such directives. Or we can disallow them for being bogus.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions