JunoLab / Traceur.jl

Other
318 stars 15 forks source link

Warning for missing @inbounds #45

Open Uroc327 opened 3 years ago

Uroc327 commented 3 years ago

I think a (probably opt-in only) warning for generated @boundscheck statements would be very helpful.

Sometimes, there is code with multiple (inline) functions and nested control flow. In those cases, it can be quite hard to keep track of @inbounds propagation rules and I'd like to have a tool that tells me which lines of my code still perform bounds checking.