This is because showerror
for UndefVarError
does not currently call back into show_error_hints
. It is still an experimental feature, so it isn’t implemented consistently by all exceptions yet. I actually did implement this as part of https://github.com/JuliaLang/julia/pull/39089, so if you want to make a PR, it should be quite straightforward to extract that part.
4 Likes