summaryrefslogtreecommitdiff
path: root/src/compiler/rootdoc.txt
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2016-07-08 10:11:07 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2016-07-12 17:55:25 +0200
commitd33f2993782c259831e10beacc8274424b3a6250 (patch)
treea0fd9d35e061a716730f6a91f3daddb9c8d928d5 /src/compiler/rootdoc.txt
parent6612ba010b0e70c53550d1e47141c8dc89a55f23 (diff)
downloadscala-d33f2993782c259831e10beacc8274424b3a6250.tar.gz
scala-d33f2993782c259831e10beacc8274424b3a6250.tar.bz2
scala-d33f2993782c259831e10beacc8274424b3a6250.zip
SI-9849 set privateWithin on default getters
A default getter get the same access flag (private / protected) as the method whose default it implements. However, we forgot to set the privateWithin flag, which defines the scope in a qualified private / protected modifier. For a private[p], the default getter was therefore public, which is less restricted (a private[p] method has privateWithin set to p, but the private flag is not set). For a protected[p], the default getter was protected, which is more restricted.
Diffstat (limited to 'src/compiler/rootdoc.txt')
0 files changed, 0 insertions, 0 deletions