yaegi
yaegi copied to clipboard
panic on importing `github.com/golang/protobuf/proto`
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.
@mvertes, sorry to ping, but is there any way around this? How do I interpret go code that has dependencies on protobuf?