We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7668e commit 585514bCopy full SHA for 585514b
src/linting/checks.jl
@@ -62,7 +62,7 @@ const LintCodeDescriptions = Dict{LintCodes,String}(
62
CannotDefineFuncAlreadyHasValue => "Cannot define function ; it already has a value.",
63
DuplicateFuncArgName => "Function argument name not unique.",
64
IncludePathContainsNULL => "Cannot include file, path contains NULL characters.",
65
- IndexFromLength => "Indexing with indices obtained from `for i in 1:length(...)` and similar is discouraged. Use `eachindex` instead."
+ IndexFromLength => "Indexing with indices obtained from `length`, `size` etc is discouraged. Use `eachindex` or `axes` instead."
66
)
67
68
haserror(m::Meta) = m.error !== nothing
0 commit comments