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
Scaladoc shows an empty parameter list on methods that have no parameter lists #5077
Comments
Imported From: https://issues.scala-lang.org/browse/SI-5077?orig=1 |
@paulp said: |
@SethTisue said: well, I'm tempted to suggest the empty parameter lists be removed from the synthetic methods. it seems like the right thing from the user's perspective. but I can easily imagine it wouldn't really be worth tinkering with. I could put the patch to Any.scala and AnyRef.scala together if you like. I'm in there anyway, documenting. |
@paulp said: |
@SethTisue said: |
@SethTisue said: |
In both the 2.9.1 and the current nightly API doc, methods like
toString
and##
that have zero parameter lists are shown as having a single, empty parameter list. That's incorrect; these are distinct method types.For example toString is shown as:
def toString (): String
when it should be simplydef toString: String
.The text was updated successfully, but these errors were encountered: