Closed
Description
MWE:
(@v1.11) pkg> activate --temp
(jl_YdCmZR) pkg> add VOTables@0.1.16
julia> using VOTables
Precompiling VOTables...
Info Given VOTables was explicitly requested, output will be shown live
ERROR: LoadError: Package VOTables [3abbdab7-df67-4801-8590-8effec53f469] source file /Users/aplavin/.julia/packages/VOTables/H54Mn/src/VOTables.jl does not contain a module declaration.
I do
@doc Base.read(joinpath(dirname(@__DIR__), "README.md"), String) module VOTables
in the package file (didn't know README would be shown anyway!), likely that causes the issue with module detection.
I'll probably remove this line in the next VOTables version, but it seems a bug in Julia anyways.
Everything worked on 1.10, so this is 1.11 regression (thanks @fatteneder for fixing the title!).