function test(x)
Any[x for x in []]
end
gives
ERROR: syntax: local variable name "x" conflicts with an argument
but
function test(x)
[x for x in []]
end
works.
julia> VERSION
v"0.7.0-beta.154"
You folks really like to reuse variable names, don't you. ;)
x
Most helpful comment
You folks really like to reuse variable names, don't you. ;)