ScalaPB
ScalaPB copied to clipboard
Option message in option.proto fails
This is rather specific issue and I think it might be related to Scala having Option type, but I'm not familiar with Scala. If option.proto file has a message Option, ScalaPB fails with following error.
/test/option/OptionProto.scala: Tried to write the same file twice.
The problem seems to be a specific to the word "option". Using any other word as the file and message names does not cause problem, for example Value in value.proto works just fine.
// option.proto
syntax = "proto3";
package test;
message Option {
}
Thanks for reporting. I was able to reproduce the issue.