julia> tst(arg1...);
args = (3, 4)
julia> macro delete_which(ex)
print("Warning: removing methods may cause unexpected behavior!\n\nDo you wish to proceed? [y/n]: ")
yn=readline(stdin)
if yn ≠ "y"; println("Method deletion cancelled")
else println("Deleting @which ", ex); esc(:( Base.delete_method(@which $ex) )) end
end
@delete_which (macro with 1 method)
julia> @delete_which tst(arg1...)
Warning: removing methods may cause unexpected behavior!
Do you wish to proceed? [y/n]: y
Deleting @which tst(arg1...)
julia> tst(arg1...);
ERROR: MethodError: no method matching tst(::Int64, ::Int64)