aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-11-16 21:57:19 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:08 +0100
commitce23380cbcec633cba63f19bc8f02c1d2b8048bb (patch)
treedf1a365afb9491be4d817c70d80dc7b5cf0e2036 /docs
parent19c4c24f884b8e7245ffdd26fbb573761703496a (diff)
downloaddotty-ce23380cbcec633cba63f19bc8f02c1d2b8048bb.tar.gz
dotty-ce23380cbcec633cba63f19bc8f02c1d2b8048bb.tar.bz2
dotty-ce23380cbcec633cba63f19bc8f02c1d2b8048bb.zip
checkNoPrivateLeaks: handle references to companion members
Previously Outer2#Inner#foo failed to compile with: ``` non-private method foo refers to private value x in its type signature ``` This should compile because the boundary of `foo` is `class Outer2` and the boundary of `x` is `object Outer2`. This commit fixes this by also considering the linked boundary in `checkNoPrivateLeaks`.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions