I started to get a strange error while debugging my code, here's a 
simplified example:

julia> function foo(a)
           println("foo..")
       end
foo (generic function with 1 method)

julia> a = foo(2)
foo..

julia> a,b = foo(2)
foo..
ERROR: `start` has no method matching start(::Nothing)


So, the problem was a missing return value, it is strange that missing one 
value did not give error but two values.... It took a quite long time to 
track this down. Perhaps a bit more informative error message would be 
possible...?

Cheers,
Kaj

Reply via email to