diff options
author | Adriaan Moors <adriaan@lightbend.com> | 2016-08-19 20:01:38 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan@lightbend.com> | 2016-08-29 09:54:08 +0200 |
commit | 6f7bd990ae69d6796c68894133c1975bef354e12 (patch) | |
tree | a88ac77e03434634353dee318e4648a4f6a90ce4 /test/flaky/pos/t2868 | |
parent | 0f813a5675f7f6c45acfab705b697e9cc1eceff3 (diff) | |
download | scala-6f7bd990ae69d6796c68894133c1975bef354e12.tar.gz scala-6f7bd990ae69d6796c68894133c1975bef354e12.tar.bz2 scala-6f7bd990ae69d6796c68894133c1975bef354e12.zip |
Ensure access from subclass to trait lazy val
Since we need to refer to a trait lazy val's accessor using a
super call in a subclass (when the field and bitmap are added),
we must ensure that access is allowed.
If the lazy val has an access boundary (e.g., `private[somePkg]`),
make sure the `PROTECTED` flag is set, which widens access
to `protected[somePkg]`. (As `member.hasAccessBoundary` implies
`!member.hasFlag(PRIVATE)`, we don't have to `resetFlag PRIVATE`.)
Diffstat (limited to 'test/flaky/pos/t2868')
0 files changed, 0 insertions, 0 deletions