Rename EffectiveVisibility.Private to PrivateInClass

This commit is contained in:
Mikhail Glukhikh
2021-04-07 14:27:32 +03:00
parent 3c9f0e4775
commit 6ee169c01e
8 changed files with 25 additions and 24 deletions
@@ -4,7 +4,7 @@
// ACTION: Make 'Nested' internal
// ACTION: Make 'Nested' public
// ACTION: Remove parameter 'arg'
// ERROR: 'internal' function exposes its 'private' parameter type argument Nested
// ERROR: 'internal' function exposes its 'private-in-class' parameter type argument Nested
// ERROR: Cannot access 'Nested': it is private in 'Outer'
class Outer {
@@ -3,7 +3,7 @@
// ACTION: Introduce import alias
// ACTION: Make 'Private' protected
// ACTION: Make 'Private' public
// ERROR: 'protected (in My)' member exposes its 'private' receiver type argument Private
// ERROR: 'protected (in My)' member exposes its 'private-in-class' receiver type argument Private
class Receiver<T>