Skip to content

completion resolves used names #29987

Closed
Closed
@StefanKarpinski

Description

@StefanKarpinski

This was making me think I was crazy for a while today:

julia> module M
           export blah
           blah = 1
       end
Main.M

julia> using .M

julia> bl<tab> = "other"
ERROR: cannot assign variable M.blah from module Main
Stacktrace:
 [1] top-level scope at none:0

Tab completing a name provided by using should not resolve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions