Remove quotes around visibility in invisible member diagnostic

This commit is contained in:
Alexander Udalov
2016-07-21 16:12:08 +03:00
parent b6b2303aa7
commit 83000c50ff
37 changed files with 117 additions and 117 deletions
+3 -3
View File
@@ -11,8 +11,8 @@ class A {
}
fun foo() {
A.B() // ERROR 1: Cannot access 'B': it is 'private' in 'A'
A.C() // ERROR 2: Cannot access '' : it is 'private' in 'C'
A.B() // ERROR 1: Cannot access 'B': it is private in 'A'
A.C() // ERROR 2: Cannot access '' : it is private in 'C'
A().bar() // ERROR 3: Cannot access 'bar' : it is 'private' in 'A'
A().bar() // ERROR 3: Cannot access 'bar' : it is private in 'A'
}
+1 -1
View File
@@ -1,2 +1,2 @@
<!-- invisibleMember1 -->
Cannot access 'B': it is 'private' in 'A'
Cannot access 'B': it is private in 'A'
+1 -1
View File
@@ -1,2 +1,2 @@
<!-- invisibleMember2 -->
Cannot access '<init>': it is 'private' in 'C'
Cannot access '<init>': it is private in 'C'
+1 -1
View File
@@ -1,2 +1,2 @@
<!-- invisibleMember3 -->
Cannot access 'bar': it is 'private' in 'A'
Cannot access 'bar': it is private in 'A'