Skip to content

Using protobuf editions causes gazelle warnings #386

@jpeach

Description

@jpeach

We are using a snapshot of stackb/rules_proto at commit 5428336. When I enable protobuf editions, the gazelle plugin is no longer able to parse .proto files:

For example:

gazelle: warning: unparseable proto file dir=/home/jpeach/.../v1, file=user.proto: could not parse .../v1/user.proto: <input>:1:1: found "edition" but expected [.proto element {comment|option|import|syntax|enum|service|package|message}]

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