yaegi icon indicating copy to clipboard operation
yaegi copied to clipboard

panic on importing `github.com/golang/protobuf/proto`

Open jimil749 opened this issue 3 years ago • 1 comments

I am trying to interpret go code, which uses grpc (protobuf) definitions as function arguments and response. (reference: https://github.com/cs3org/go-cs3apis/blob/main/cs3/identity/user/v1beta1/resources.pb.go#L77).

On running, I get following error:

run: reflect.Set: value of type func(interface {}, interface {}) bool is not assignable to type *interp.node

which is caused by https://github.com/protocolbuffers/protobuf-go/blob/master/internal/order/order.go#L51.

jimil749 avatar Jun 06 '21 09:06 jimil749

@mvertes, sorry to ping, but is there any way around this? How do I interpret go code that has dependencies on protobuf?

jimil749 avatar Jun 14 '21 09:06 jimil749