Exposed visibility deprecation warnings made errors + relevant test fixes
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
fun test(a: A): Int? {
|
||||
internal fun test(a: A): Int? {
|
||||
return a.foo<String, Int>(1, "2")
|
||||
}
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
fun test(a: A): Int? {
|
||||
internal fun test(a: A): Int? {
|
||||
return a.<caret>foo<String, Int>(1, "2")
|
||||
}
|
||||
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
fun test(): Int {
|
||||
return b.foo<Int, String>(2, "2")
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
fun test(): Int {
|
||||
return b.<caret>foo<Int, String>(2, "2")
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
fun test(): Int {
|
||||
return b.foo<Int>(2, "2")
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
fun test(): Int {
|
||||
return b.<caret>foo<Int>(2, "2")
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
fun test(): Int {
|
||||
return b.foo<Int, String>(2, "2")
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create member function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val b: B<T>) {
|
||||
class A<T> internal constructor(val b: B<T>) {
|
||||
fun test(): Int {
|
||||
return b.<caret>foo<T, Int, String>(2, "2")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user