I was using a scala class inside a java project successfully for a couple of weeks now. But it has stopped being compiled. Only the old version of the class file is being used.
Note: in the Compiler | Scala The "Compile Scala classes first" is checked. That's the way it has been and was working until now.
I have done "Rebuild entire project" several times.
Also, the parser has started to act weird. It can't find imports properly. I had to comment out valid code (compiles on scalac command line) to get it to be happy within IJ.
I am using IJ 9.0.3.