You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ protolint negative_enum_val.proto
found "\"-\"(Token=0, Pos=negative_enum_val.proto:4:23)" but expected [intLit] at /go/pkg/mod/github.com/yoheimuta/go-protoparser/v4@v4.2.0/parser/enum.go:242:found "-" but expected [;]. Use -v for more details
$ echo $?
2
Using the Linux 0.26.0 release protolint_0.26.0_Linux_x86_64.tar.gz
Not an issue for protoc. For now I'm excluding certain proto files that have negative enums in the protolint config file.
The text was updated successfully, but these errors were encountered:
Given the following proto file:
protolint fails on the negative enum constant:
Using the Linux 0.26.0 release
protolint_0.26.0_Linux_x86_64.tar.gz
Not an issue for protoc. For now I'm excluding certain proto files that have negative enums in the protolint config file.
The text was updated successfully, but these errors were encountered: