-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Typo #12170
Comments
Does Lint.jl catch that? |
See #11769 |
Unfortunately no, numbers are iterable so |
For your information, the NEWS section for v0.4 says "Array iteration should generally be written as I would think this will fix your typo issue. |
I often write
when really I want to write
This typo is surprisingly easy to do and hard to spot. Would it be possible to return a warning or an error in the first case?
The text was updated successfully, but these errors were encountered: