What version of Docile are you using? You can check with `Pkg.status()`.
The current stable version is 0.3.2. Try doing `Pkg.update()` and then 
rerunning
your file if you're not on that version.

On Tuesday, 20 January 2015 16:17:07 UTC+2, Yuuki Soho wrote:
>
> My file was huge, but I did a minimal one:
>
> if VERSION < v"0.4-"
>
>     using Docile
>
>     macro doc_mstr(text)
>
>         Base.triplequoted(text)
>
>     end
>
>     macro doc_str(text)
>
>         text
>
>     end
>
> end
>
>  
>
> @doc doc"Tells you if there are too foo items in the array." ->
>
> function test(x)
>
>  
>
>     return 1
>
> end
>
> julia> reload("testDocile.jl")
>
> ERROR: No metadata defined in module Main.
>
>  in error at error.jl:21
>
>  in getdoc at /Users/laupin/.julia/Docile/src/types.jl:110
>
>  in Entry at /Users/laupin/.julia/Docile/src/types.jl:35
>
>  in Entry at /Users/laupin/.julia/Docile/src/types.jl:34
>
>  in setmeta! at /Users/laupin/.julia/Docile/src/types.jl:101
>
>  in include at 
> /Applications/Julia-0.3.2.app/Contents/Resources/julia/lib/julia/sys.dylib
>
>  in include_from_node1 at 
> /Applications/Julia-0.3.2.app/Contents/Resources/julia/lib/julia/sys.dylib
>
>  in reload_path at loading.jl:152
>
>  in reload at loading.jl:85
>
> while loading /Users/laupin/Desktop/julia/testDocile.jl, in expression 
> starting on line 11
>
>
>
>
>

Reply via email to