Closed neowulf closed 6 years ago
Describe the bug The plugin detects the last semicolon as a syntax error. Looking at the proto spec, the provided code is a valid proto file.
To Reproduce Steps to reproduce the behavior:
syntax = "proto3"; import "protoc-gen-swagger/options/annotations.proto"; option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = { info: { title: "Service" version: "1.0"; }; };
The last semicolon is detected as a syntax error.
Expected behavior The plugin should not emit a syntax error.
Screenshots
Plugin (please complete the following information):
Additional context Add any other context about the problem here.
Similar to https://github.com/protostuff/protobuf-jetbrains-plugin/issues/110 It will be fixed in one of next releases.
P.S. Thanks for reporting this!
Thank you @kshchepanovskyi !
Describe the bug The plugin detects the last semicolon as a syntax error. Looking at the proto spec, the provided code is a valid proto file.
To Reproduce Steps to reproduce the behavior:
The last semicolon is detected as a syntax error.
Expected behavior The plugin should not emit a syntax error.
Screenshots
Plugin (please complete the following information):
Additional context Add any other context about the problem here.