aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/privates.scala
Commit message (Collapse)AuthorAgeFilesLines
* New miniphase: ExpandPrivateMartin Odersky2015-05-011-0/+4
| | | | | | | | | | | | | A late miniphase which resets private flag of all members that are not accessed from within same class. Replaces logic in RefChecks. Doing this late has two advantages - we can use name expansion, because references are symbolic, so the names of symbols and references to them do not need to correspond anymore. - we can automatically correct for symbols moved in earlier phases (e.g. lifted out by LambdaLift).
* New phase: PrivateToStaticMartin Odersky2014-11-091-0/+9
Make private methods in traits static, so that we do not need to give a default for them.