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
HI, thanks for the work on this library. I noticed what appears to be a bug. If I try to compile this file, this struct's "message" attribute causes the following error when trying to use the generated Go code later on.
cereal/gen/go/log.capnp.go:10674:26: AndroidLogEntry.Message redeclared in this block
cereal/gen/go/log.capnp.go:10609:26: other declaration of Message
A quick workaround is naming it something else before generation
Would this be considered a bug in capnproto.org/go/capnp/v3 or bad practice by the author? I was unable to find a list of reserved words in the schema language, so I suspect this is sort of a de-facto reserved word if using capnproto.org/go/capnp/v3 at this point in time, correct?
Thanks!
The text was updated successfully, but these errors were encountered:
HI, thanks for the work on this library. I noticed what appears to be a bug. If I try to compile this file, this struct's "message" attribute causes the following error when trying to use the generated Go code later on.
A quick workaround is naming it something else before generation
Would this be considered a bug in capnproto.org/go/capnp/v3 or bad practice by the author? I was unable to find a list of reserved words in the schema language, so I suspect this is sort of a de-facto reserved word if using capnproto.org/go/capnp/v3 at this point in time, correct?
Thanks!
The text was updated successfully, but these errors were encountered: