An import statement in a .proto file, such as
results in a statement such as
include("sub_pb.jl")
import sub_pb
in the generated julia code. This fails because it expects a leading dot to import locally defined modules, i.e. it should read:
include("sub_pb.jl")
import .sub_pb
If I manually add the dot (in all required places), everything works fine. A bit surprised nobody else ran into this... or am I missing something?
An import statement in a .proto file, such as
results in a statement such as
in the generated julia code. This fails because it expects a leading dot to import locally defined modules, i.e. it should read:
If I manually add the dot (in all required places), everything works fine. A bit surprised nobody else ran into this... or am I missing something?