Any reason why there's no `reload(m::Module)`?

If none, can we please have it - makes sense as the module is expected to be in scope since we want to reload it. And because, most annoyingly, reload(s::AbstractString) does not support module name autocomplete in the REPL.

Related discussions:

Interesting, thanks! I didn’t realize it’s actually being eliminated. I’d like to see it kept and upgraded to reload(::Module) as well.

I often wish to have methods taking a Module as argument, for example in Pkg.test, just to be able to use autocompletion

The new package manager (pkg3) in upcoming v0.7 release has its own command-line mode with package-specific tab completion.

1 Like