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
And here is the compile commands for reproduce it.
# install
go install github.com/gogo/protobuf/[email protected]
go install github.com/gogo/protobuf/[email protected]# compile
protoc -I . --go-gogoslick_out=. ./test.proto
# or
protoc -I . --go-gogofast_out=. ./test.proto
It may casing a syntax error that both exists a variable named GetId and a function named GetId.
The text was updated successfully, but these errors were encountered:
cupen
changed the title
Variable name conflict: cannot convert m.GetId (value of type func() int32)
[BUG] Variable name conflict if that both exists two fields named id and getIdMay 13, 2024
NOTE: I know gogo/protobuf is deprecated. Just notes here for someone meeting this problem.
Version: v1.3.2
Here is the protobuf defines.
And here is the compile commands for reproduce it.
It may casing a syntax error that both exists a variable named
GetId
and a function namedGetId
.The text was updated successfully, but these errors were encountered: