Effective visibility: concise diagnostic messages #KT-10761 Fixed
Also #KT-9760 Fixed
Original commit: 1bbc46729c
This commit is contained in:
committed by
Mikhail Glukhikh
parent
46253721f1
commit
cb985c0d13
+1
-1
@@ -28,6 +28,6 @@ Cannot access 'A': it is 'internal' in 'a'
|
||||
Cannot access 'FileAnnotation': it is 'internal' in 'a'
|
||||
Cannot access 'ClassAnnotation': it is 'internal' in 'a'
|
||||
Cannot access 'ClassAnnotation': it is 'internal' in 'a'
|
||||
Function effective visibility 'public' should be the same or less permissive than its parameter type effective visibility 'internal'
|
||||
'public' function exposes its 'internal' parameter type A
|
||||
Cannot access 'A': it is 'internal' in 'a'
|
||||
Cannot access 'a': it is 'internal' in 'a'
|
||||
|
||||
+1
-1
@@ -32,6 +32,6 @@ Cannot access 'A': it is 'internal' in 'a'
|
||||
Cannot access 'FileAnnotation': it is 'internal' in 'a'
|
||||
Cannot access 'ClassAnnotation': it is 'internal' in 'a'
|
||||
Cannot access 'ClassAnnotation': it is 'internal' in 'a'
|
||||
Function effective visibility 'public' should be the same or less permissive than its parameter type effective visibility 'internal'
|
||||
'public' function exposes its 'internal' parameter type A
|
||||
Cannot access 'A': it is 'internal' in 'a'
|
||||
Cannot access 'a': it is 'internal' in 'a'
|
||||
|
||||
Reference in New Issue
Block a user