Skip to content

TAB completion on REPL makes identifier confliction #23677

Closed
@appleparan

Description

@appleparan

This is from FFTW.jl issue #36

TAB completion on REPL, especially using using statement for module, seems loading identifier once again.

As I said on this, using TAB completion even using Base makes FFTW identifier confliction error.

root@67c40e951d84:~# julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0-DEV.1568 (2017-08-29 23:34 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 881ab49 (13 days old master)
|__/                   |  x86_64-pc-linux-gnu

julia> using Base

julia> using FFTW
WARNING: error while reinitializing value FFTW:
ErrorException("cannot assign variable DFT.FFTW from module Main")
WARNING: requiring "FFTW" in module "Main" did not define a corresponding module.

julia>

I think this line of deprecated.jl makes Julia load the identifier again. Do we need to change deprecated macro usage or change TAB completion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions