« Return to Thread: scaladoc is not uptodate with latest release?

scaladoc is not uptodate with latest release?

by Zemian Deng :: Rate this Message:

Reply to Author | View in Thread

Hi list,

1) The online scaladoc
http://www.scala-lang.org/docu/files/api/index.html says for
2.7.1-final, but I just found out that scala.collection.mutable.Map
has deprecated method += that's not showing on scaladoc. Can we have a
matching doc?

2) I like the old deprecated method better than the new suggested way.
Is there better reason for this change other than require more typing?
val m = new HashMap[String, Int]
m += "one"->111 //warning: there were deprecation warnings; re-run
with -deprecation for details
m += Pair("two", 222) //the new way
m += ("two", 222) // and this product error!

What is your take on the deprecated method?
-Z

 « Return to Thread: scaladoc is not uptodate with latest release?