Wrong error: Companions class X and object X must be defined in the same file
Hello,
I have just upgraded my plugin with the 3.0.4.rc3 version and I have a strange error in the source code, not in the "Problems tab":
Companions class X and object X must be defined in the same file, Found in /relative/path/scalafile.scala and /absolute/path/to/the/same/file
Thank you for your great ide.
Best regards,
Morgan
Scala plugin version: 3.0.4.rc3-2_11-201404080918-fa8754b
Scala compiler version: 2.11.0.v20140403-152939-RC4-470a51285b
Scala library version: 2.11.0.v20140403-152939-RC4-470a51285b
Eclipse version: 4.3.2.v20140221-1700
I have just upgraded my plugin with the 3.0.4.rc3 version and I have a strange error in the source code, not in the "Problems tab":
Companions class X and object X must be defined in the same file, Found in /relative/path/scalafile.scala and /absolute/path/to/the/same/file
Thank you for your great ide.
Best regards,
Morgan
Scala plugin version: 3.0.4.rc3-2_11-201404080918-fa8754b
Scala compiler version: 2.11.0.v20140403-152939-RC4-470a51285b
Scala library version: 2.11.0.v20140403-152939-RC4-470a51285b
Eclipse version: 4.3.2.v20140221-1700
Leave a comment
These sort of errors appear for me when I do refactorings and can be moved away by doing a project clean.