Autoreload.jl
Autoreload.jl copied to clipboard
Silence unnecessary warnings about reloading constants
This might require a change in Julia base itself. Overwriting Base.warn inside the package doesn't seem effective at silencing warnings issues from other functions in Base.
One kind of warning (new definition ... is ambiguous with ...) is caused by code like
function a()... function b()...
then when its reloaded, the redefinition of a() is ambiguous with the now-loaded definition of b().
Another kind issues a warning about redefining a type. This is mostly caused by modules importing a functionfrom base and defining a new method on it.