How to flag Base functions that are being shadowed?

jishnub
Mon, 31 Jul 2023 05:55:30 +0000
General Usage

Is there a way to highlight instances of function shadowing such as

julia> struct MyType end

julia> Matrix(::MyType) = ones(2,2)
Matrix (generic function with 1 method)

where a new Matrix function is created in a module, instead of a method being added?

5 posts - 3 participants