compiler bug or plugin bug?

i can reproduce the following compiler error:
class file needed by x is missing
reference type _$3 of [A]scala.collection.generic.CanBuildFrom[scala.collection.SeqView.Coll,A,scala.collection.SeqView[A,Seq[_]]] refers to nonexisting symbol.
one error found

the error only occurs during a make, never during a full rebuild.
i can reproduce it by calling this

def allOngoingMineDrops = commands.view.collect({case drop:MicroMineDropCommand if !drop.executed => drop})

from another class (in this case x)

if i change to code to

def allOngoingMineDrops:Iterable[MicroMineDropCommand] = commands.view.collect({case drop:MicroMineDropCommand if !drop.executed => drop})

or remove the ".view"

everything compiles fine.

3 comments

It seems it's compiler bug for recompiling concrete file (with this line). Plugin only send to compiler appropriate command line, which contains only changed files. Maybe this command line is wrong (you can check it), but I think that it's much more likely compiler bug.

Best regards,
Alexander Podkhalyuzin.

0

If you run IDEA with console (form idea.bat in bin directory), you'll see this command line in this console after you'll start compilation.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.