Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails due to attempt to write two files with the same name #86

Closed
simonstuck opened this issue Feb 15, 2016 · 0 comments
Closed

Comments

@simonstuck
Copy link

Hi,
I've been playing around with this and it looks really cool! However, I think I have discovered what I think is an issue:

Write the following message to the file Foo.proto:

message FooProto {
   optional string msg = 1;
}

Now complication fails since ScalaPB attempts to generate two files with the same same, one for the descriptor, one for the message.

Is this something that can be fixed by telling the compiler via a flag to generate only one file?

Given the same input, the Google's Java compiler outputs valid code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant