-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
Case class and object conflict #47
Comments
Can you do an If this still happens, can you post a sample project on github that can help reproduce this problem? |
Here you go: https://github.com/lapminglee/scalapb_build_conflict.git Repro steps:
I think the conflict is because the generated files are by default generated into the target folder and IntelliJ is trying to read the file twice. |
After generating pb files, I cannot rebuild the project with this error
Error:(10, 18) LoginFailed is already defined as case class LoginFailed
final case class LoginFailed(
Error:(56, 8) LoginFailed is already defined as object LoginFailed
object LoginFailed extends com.trueaccord.scalapb.GeneratedMessageCompanion[LoginFailed] {
The text was updated successfully, but these errors were encountered: