Wrong line reported in error on parse error?

Would this be considered a bug? When you loading this:

function foo(c:Int, b::Dict{String, Any})
    # move
    # down
    # some
    local a : Dict{String, Any} = b["d"]

    return a

I get:

ERROR: LoadError: syntax: "Dict{String, Any}" is not a valid function argument name

With the a line number of 1 (the line defining foo). The actual error is that I forgot a second colon when defining “a”, but because the function also took the same data type I was staring at the function definition trying to figure out if I missed a comma or if the comma wasn’t a comma but merely looked like a comma.