This file creates a problem:
syntax = "proto2";
service PeerService {
rpc Request (Message) returns (Message) {}
}
message Message {
}
Workaround:
If I rename the "Request" method to anything else, it generates error free code. I think it should work anyway though, seems weird that it breaks on a certain identifier.