Skip to content

Commit

Permalink
SI-7859 fix AnyVal.scala scaladoc.
Browse files Browse the repository at this point in the history
Value class member need not be public in 2.11+
  • Loading branch information
xuwei-k committed Jan 8, 2014
1 parent 4e4c151 commit 7f16e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/scala/AnyVal.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ package scala
*
* User-defined value classes which avoid object allocation...
*
* - must have a single, public `val` parameter that is the underlying runtime representation.
* - must have a single `val` parameter that is the underlying runtime representation.
* - can define `def`s, but no `val`s, `var`s, or nested `traits`s, `class`es or `object`s.
* - typically extend no other trait apart from `AnyVal`.
* - cannot be used in type tests or pattern matching.
Expand Down

0 comments on commit 7f16e4d

Please sign in to comment.