You have two methods for function foo, so you will get two docs out of 
help. Since you don't specify what method are you looking for, don't be 
surprised julia doesn't care either and prints out their docs in reverse 
(possibly even random) order...


Dne čtvrtek 12. května 2016 10:23:16 UTC+2 Igor Cerovsky napsal(a):
>
> Hello,
>
> Trying to write documentation according to Julia manual I've found 
> following reversed order of methods for given function; is that a bug?:
> """
>     foo()
>     
> I'm major foo...
> """
> function foo()
> end
>
> "
>     foo(x)
>     
> Here comes additional doc...
> "
> function foo(x)
> end
>
> resulting documentation looks like:
> help?> foo
>   foo(x)
>
>   Here comes additional doc...
>
>   foo()
>
>   I'm major foo...
>
>
>
>

Reply via email to