Skip to content

spurious warning when using exported names that are renamed with as #44754

@aviatesk

Description

@aviatesk

MRE:

module A
global original() = println("Hello")
module B
import ..A: original as renamed
export renamed
end
end

using .A.B
renamed()
WARNING: could not import A.renamed into Main
Hello

I confirmed the same warning is printed on v1.7 as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions