# Wrong line reported in error on parse error?

**URL:** <https://discourse.julialang.org/t/wrong-line-reported-in-error-on-parse-error/29866>\
**Category:** General Usage\
**Tags:** compilation\
**Created:** [October 13, 2019, 4:01pm UTC](https://discourse.julialang.org/t/wrong-line-reported-in-error-on-parse-error/29866 "2019-10-13T16:01:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [October 13, 2019, 4:01pm UTC](https://discourse.julialang.org/t/wrong-line-reported-in-error-on-parse-error/29866/1 "2019-10-13T16:01:13Z")

</div>

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

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

    return a
end

```

I get:

```julia
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.
