Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:sound mode: report uncovered method match #366

Closed
aviatesk opened this issue Jun 29, 2022 · 0 comments · Fixed by #367
Closed

:sound mode: report uncovered method match #366

aviatesk opened this issue Jun 29, 2022 · 0 comments · Fixed by #367

Comments

@aviatesk
Copy link
Owner

julia> foo(::Int) = :onlyint
foo (generic function with 1 method)

julia> report_call((Any,); mode=:sound) do x
           foo(x)
       end
No errors detected

But foo(x::Any) should be reported in this case as it can still cause MethodError.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant