Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect ScalaDoc for ProductN.productElement #5168
All the scala.ProductN include this in their documentation for productElement(Int)Any:
returns same as ._(n+1), for example productElement(1) is the same as ._1.
The example is incorrect... should be "same as ._2"
I thinkg the documentation in scala.Product is better -- so just removing the scaladoc from genprod would be fine.
Imported From: https://issues.scala-lang.org/browse/SI-5168?orig=1