Closed andrewhickman closed 1 year ago
Given a set of files like
file1.proto:
package bar; message Foo {}
file2.proto:
message Foo {}
file3.proto:
import "file2.proto"; package bar; message Bar { optional Foo foo = 1; }
the type of bar.Bar.foo will be incorrectly resolved to bar.Foo. protoc instead recognizes that file1.proto isn't imported, and resolves it to Foo.
bar.Bar.foo
bar.Foo
Foo
Given a set of files like
file1.proto:
file2.proto:
file3.proto:
the type of
bar.Bar.foo
will be incorrectly resolved tobar.Foo
. protoc instead recognizes that file1.proto isn't imported, and resolves it toFoo
.