Strange scala plugin compiled view behavior

Hey all,

Intellij version 14 EAP 138.1029

Yesterday we noticed a possible issue and we're hoping maybe someone here knows what's going on.

We have an external project that we package as a jar (all scala code and built with SBT) and use as a dependency in a different maven project (also scala).  We started getting a compile error for a 'reassignment to val' for a member of a case class that was declared in the other project as a var.  In fact if you click on any of the 'var' declarations in the depended-on project, you see that they are all supposedly compiled as 'vals'.

Upon inspecting the compiled class files for the library, those vars all compiled correctly, as in they were all mutable vars, not final.  Also, the project compiles just fine, even with the error and apparent 'vals' in place of 'vars'.

So, unless I'm missing something here it seems maybe there is an issue with the class view in idea?

Not sure what other details to provide, IJ version is above.  If anyone has any insight, it would be much appreciated!  Thanks!


1 comment

It would be great to see sample project to understand what's going on.

Best regards,
Alexander Podkhalyuzin.


Please sign in to leave a comment.