Rename EffectiveVisibility.Private to PrivateInClass
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user