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
@@ -4,7 +4,7 @@
// ACTION: Make 'Nested' public
// ACTION: Remove parameter 'arg'
// ERROR: 'internal' function exposes its 'private' parameter type argument Nested
// ERROR: Cannot access 'Nested': it is 'private' in 'Outer'
// ERROR: Cannot access 'Nested': it is private in 'Outer'
class Outer {
private class Nested
@@ -12,4 +12,4 @@ class Outer {
class Generic<T>
internal fun foo(<caret>arg: Generic<Outer.Nested>) {}
internal fun foo(<caret>arg: Generic<Outer.Nested>) {}
@@ -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,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,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,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,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,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,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,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,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,5 +1,5 @@
// "class org.jetbrains.kotlin.idea.quickfix.AddModifierFix" "false"
// ERROR: This type is final, so it cannot be inherited from
// ERROR: Cannot access '<init>': it is 'private' in 'E'
// ERROR: Cannot access '<init>': it is private in 'E'
enum class E {}
class A : E<caret>() {}