Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect ScalaDoc for ProductN.productElement #5168

Closed
scabug opened this issue Nov 8, 2011 · 2 comments
Closed

Incorrect ScalaDoc for ProductN.productElement #5168

scabug opened this issue Nov 8, 2011 · 2 comments

Comments

@scabug
Copy link

@scabug scabug commented Nov 8, 2011

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.

@scabug

This comment has been minimized.

Copy link
Author

@scabug scabug commented Nov 8, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5168?orig=1
Reporter: @jsalvata
Affected Versions: 2.9.2

@scabug

This comment has been minimized.

Copy link
Author

@scabug scabug commented Apr 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.