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.
请先登录再写评论。
Added an issue. Thank you. http://youtrack.jetbrains.net/issue/SCL-2487
Best regards,
Alexander Podkhalyuzin.