Exposed visibility deprecation warnings made errors + relevant test fixes
This commit is contained in:
+1
-1
@@ -3,4 +3,4 @@
|
||||
// ACTION: Convert to block body
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
fun test(): A = <caret>Foo(2, "2")
|
||||
internal fun test(): A = <caret>Foo(2, "2")
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = B.Foo<Int, String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = B.Foo<Int, String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = B.<caret>Foo<Int, String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = B.<caret>Foo<Int, String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = b.Foo<Int, String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = b.Foo<Int, String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = b.<caret>Foo<Int, String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = b.<caret>Foo<Int, String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = b.Foo<String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = b.Foo<String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = b.<caret>Foo<String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = b.<caret>Foo<String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = b.Foo<T, Int, String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = b.Foo<T, Int, String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = b.<caret>Foo<T, Int, String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = b.<caret>Foo<T, Int, String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = B.Foo<String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = B.Foo<String>(2, "2")
|
||||
}
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
fun test() = B.<caret>Foo<String>(2, "2")
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
internal fun test() = B.<caret>Foo<String>(2, "2")
|
||||
}
|
||||
Reference in New Issue
Block a user