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

getindex reports "no errors" in sound mode #311

Closed
adkabo opened this issue Jan 16, 2022 · 0 comments
Closed

getindex reports "no errors" in sound mode #311

adkabo opened this issue Jan 16, 2022 · 0 comments

Comments

@adkabo
Copy link

adkabo commented Jan 16, 2022

This code reports "no errors" but an error occurs:

julia> using JET

julia> @report_call mode=:sound getindex(rand(3), 5)
No errors !

julia> getindex(rand(3), 5)
ERROR: BoundsError: attempt to access 3-element Vector{Float64} at index [5]
Stacktrace:
 [1] getindex(A::Vector{Float64}, i1::Int64)
   @ Base ./array.jl:861
 [2] top-level scope
   @ REPL[4]:1

(@v1.7) pkg> st JET
      Status `~/.julia/environments/v1.7/Project.toml`
  [c3a54625] JET v0.5.3
aviatesk added a commit that referenced this issue Jun 27, 2022
aviatesk added a commit that referenced this issue Jun 27, 2022
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

No branches or pull requests

1 participant