Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninformative line number for "missing comma or ) in argument list" #6198

Closed
simonster opened this issue Mar 18, 2014 · 1 comment
Closed

Comments

@simonster
Copy link
Member

Not sure if this is a duplicate, but, if I have a function like:

function f()
    a = 1
    b = 1
    f(a b)
end

then I get an error like:

julia> include("test.jl")
ERROR: syntax: missing comma or ) in argument list
while loading /home/simon/Desktop/test.jl, in expression starting on line 1

It would be nice if the line number matched up with the line where the error was actually encountered, rather than the start of the function.

@jakebolewski
Copy link
Member

Duplicate of #6179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants