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

Warning for missing @inbounds #45

Open
Uroc327 opened this issue Jan 29, 2021 · 0 comments
Open

Warning for missing @inbounds #45

Uroc327 opened this issue Jan 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Uroc327
Copy link

Uroc327 commented Jan 29, 2021

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.

@pfitzseb pfitzseb added the enhancement New feature or request label Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants