good code marked as error (type inference problem)

under intellij X EAP and the latest scala nightly (0.4.207), the following code gets marked as invalid:

val clusters = new HashMap[Int, Buffer[Int]]
clusters(0) = new ArrayBuffer

but the compiler is fine with it.

1 comment

Added an issue. Thank you.

Best regards,
Alexander Podkhalyuzin.


Please sign in to leave a comment.