Skip to content

imported definitions fail due to missing dot in import statement #280

Description

An import statement in a .proto file, such as

import "sub.proto";

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions