function f{N}(v::NTuple{N,Float64})
for i = 1:N
println(v[i])
end
end
Gives the error E539 i: assigning an error to a variable, I assume this is because Lint doesn't recognize that N is a number.
It is easy to verify by running
lintstr("function f{N}(v::NTuple{N,Float64}) for i = 1:N println(v[i]) end end")
The following function
Gives the error
E539 i: assigning an error to a variable
, I assume this is because Lint doesn't recognize thatN
is a number. It is easy to verify by runningbut is is clearly not a real problem:
Verified on Julia Version 0.6.0-rc1.0