aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/Fileish.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move private fields into constructorMartin Odersky2014-10-111-0/+53
Private fields that are accessed only from the constructor, and are accessed only after they are properly initialized are now moved into the constructor. This avoids creating a redundant objetc field. Good example: gcd in Rationals (see constrs.scala).