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
Comment actions Permalink

Added an issue. Thank you. http://youtrack.jetbrains.net/issue/SCL-2487

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.