These two both throw in `show`: ```julia abstract type AbstractType end foo(x::AbstractType) = x const AbstractType = 1 methods(foo) ``` ```julia abstract type AbstractType end struct Bar <: AbstractType end const AbstractType = 1 supertype(Bar) ``` cc @Keno Pointed out on Discourse by Benny: * https://discourse.julialang.org/t/introduce-a-command-line-option-to-warn-on-constant-redefinition/126213/5?u=nsajko