Hello,

I tried to add documentation to a function of a package, that is working 
fine without documentation on 0.3 and 0.4.

This is my code:
https://github.com/ufechner7/NaNMath.jl/blob/doc/src/NaNMath.jl

If I try to load it with "using NaNMath" I get the following error:

julia> using NaNMath
ERROR: error compiling anonymous: error in method definition: function 
Base.sum must be explicitly imported to be extended
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:51
while loading /home/ufechner/.julia/v0.3/NaNMath/src/NaNMath.jl, in 
expression starting on line 21

It works fine with Julia 0.4.

It also works fine, if I remove the lines with the documentation above the 
function sum.

Any idea?

Is it a bug in docile,  or is it just a bad idea to define a function with 
the same name as a function in base in a package?

Any hints welcome.

Uwe Fechner

Reply via email to