Exposed visibility deprecation warnings made errors + relevant test fixes
This commit is contained in:
+4
-1
@@ -4,4 +4,7 @@ Cannot access 'InternalClass1': it is 'internal' in 'test' at line 8, column 36
|
||||
Cannot access 'InternalClass2': it is 'internal' in 'test' at line 19, column 15
|
||||
Cannot access 'InternalClassAnnotation': it is 'internal' in 'test' at line 10, column 2
|
||||
Cannot access 'InternalFileAnnotation': it is 'internal' in 'test' at line 1, column 7
|
||||
Cannot access 'member': it is 'invisible_fake' in 'ClassAA1' at line 27, column 25
|
||||
Cannot access 'member': it is 'invisible_fake' in 'ClassAA1' at line 27, column 25
|
||||
Subclass effective visibility 'public' should be the same or less permissive than its superclass effective visibility 'internal' at line 18, column 36
|
||||
Subclass effective visibility 'public' should be the same or less permissive than its superclass effective visibility 'internal' at line 19, column 15
|
||||
Subclass effective visibility 'public' should be the same or less permissive than its superclass effective visibility 'internal' at line 8, column 36
|
||||
@@ -3,4 +3,6 @@ Cannot access 'InternalClass1': it is 'internal' in 'test' at line 5, column 13
|
||||
Cannot access 'InternalClass1': it is 'internal' in 'test' at line 8, column 36
|
||||
Cannot access 'InternalClassAnnotation': it is 'internal' in 'test' at line 10, column 2
|
||||
Cannot access 'InternalTestAnnotation': it is 'internal' in 'test' at line 1, column 7
|
||||
Cannot access 'member': it is 'invisible_fake' in 'ClassAA1' at line 27, column 25
|
||||
Cannot access 'member': it is 'invisible_fake' in 'ClassAA1' at line 27, column 25
|
||||
Subclass effective visibility 'public' should be the same or less permissive than its superclass effective visibility 'internal' at line 18, column 36
|
||||
Subclass effective visibility 'public' should be the same or less permissive than its superclass effective visibility 'internal' at line 8, column 36
|
||||
Vendored
+1
@@ -22,5 +22,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'
|
||||
Cannot access 'A': it is 'internal' in 'a'
|
||||
Cannot access 'a': it is 'internal' in 'a'
|
||||
Reference in New Issue
Block a user