Remove quotes around visibility in invisible member diagnostic
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'foo' internal" "true"
|
||||
// ACTION: Make 'foo' public
|
||||
// ERROR: Cannot access 'foo': it is 'private' in 'First'
|
||||
// ERROR: Cannot access 'foo': it is private in 'First'
|
||||
|
||||
package test
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'foo' internal" "true"
|
||||
// ACTION: Make 'foo' public
|
||||
// ERROR: Cannot access 'foo': it is 'private' in 'First'
|
||||
// ERROR: Cannot access 'foo': it is private in 'First'
|
||||
|
||||
package test
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make bar internal" "false"
|
||||
// ACTION: Convert property initializer to getter
|
||||
// ERROR: Cannot access 'bar': it is 'private' in 'First'
|
||||
// ERROR: Cannot access 'bar': it is private in 'First'
|
||||
|
||||
private data class Data(val x: Int)
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'f' internal" "true"
|
||||
// ACTION: Make 'f' public
|
||||
// ERROR: Cannot access 'f': it is 'private' in file
|
||||
// ERROR: Cannot access 'f': it is private in file
|
||||
|
||||
package test
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'f' internal" "true"
|
||||
// ACTION: Make 'f' public
|
||||
// ERROR: Cannot access 'f': it is 'private' in file
|
||||
// ERROR: Cannot access 'f': it is private in file
|
||||
|
||||
package test
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'prop' internal" "true"
|
||||
// ACTION: Make 'prop' public
|
||||
// ERROR: Cannot access 'prop': it is 'private' in file
|
||||
// ERROR: Cannot access 'prop': it is private in file
|
||||
|
||||
package test
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'prop' internal" "true"
|
||||
// ACTION: Make 'prop' public
|
||||
// ERROR: Cannot access 'prop': it is 'private' in file
|
||||
// ERROR: Cannot access 'prop': it is private in file
|
||||
|
||||
package test
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'prop' internal" "true"
|
||||
// ACTION: Make 'prop' public
|
||||
// ERROR: Cannot access 'prop': it is 'private' in file
|
||||
// ERROR: Cannot access 'prop': it is private in file
|
||||
|
||||
package test
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Make 'prop' internal" "true"
|
||||
// ACTION: Make 'prop' public
|
||||
// ERROR: Cannot access 'prop': it is 'private' in file
|
||||
// ERROR: Cannot access 'prop': it is private in file
|
||||
|
||||
package test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user