NI: Temporary apply test data until fix KT-37380
This commit is contained in:
Vendored
+3
@@ -52,6 +52,7 @@ fun <L> main(x: L?, y: L) {
|
||||
foo3(x, Foo(Bar()))
|
||||
foo3(y, Foo(Bar()))
|
||||
|
||||
// Change after fix KT-37380
|
||||
foo4(x, Foo(Bar()))
|
||||
foo4(y, Foo(Bar()))
|
||||
|
||||
@@ -123,9 +124,11 @@ fun <L> main(x: L?, y: L) {
|
||||
foo22(x, Foo(Foo(InBar())))
|
||||
foo22(y, Foo(Foo(InBar())))
|
||||
|
||||
// Change after fix KT-37380
|
||||
foo23(x, Foo(Foo(Bar())))
|
||||
foo23(y, Foo(Foo(Bar())))
|
||||
|
||||
// Change after fix KT-37380
|
||||
foo24(x, Foo(Foo(Bar())))
|
||||
foo24(y, Foo(Foo(Bar())))
|
||||
}
|
||||
|
||||
Vendored
+9
-6
@@ -52,8 +52,9 @@ fun <L> main(x: L?, y: L) {
|
||||
foo3(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Bar<L!!>>")!>Foo(Bar())<!>)
|
||||
foo3(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Bar<L!!>>")!>Foo(Bar())<!>)
|
||||
|
||||
foo4(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Bar<out L!!>>")!>Foo(Bar())<!>)
|
||||
foo4(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Bar<out L!!>>")!>Foo(Bar())<!>)
|
||||
// Change after fix KT-37380
|
||||
foo4(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Bar<L!!>>"), TYPE_MISMATCH!>Foo(Bar())<!>)
|
||||
foo4(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Bar<L!!>>"), TYPE_MISMATCH!>Foo(Bar())<!>)
|
||||
|
||||
foo5(x, <!DEBUG_INFO_EXPRESSION_TYPE("Bar<L!!>")!>Bar()<!>)
|
||||
foo5(y, <!DEBUG_INFO_EXPRESSION_TYPE("Bar<L!!>")!>Bar()<!>)
|
||||
@@ -123,9 +124,11 @@ fun <L> main(x: L?, y: L) {
|
||||
foo22(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<InBar<L!!>>>")!>Foo(Foo(InBar()))<!>)
|
||||
foo22(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<InBar<L!!>>>")!>Foo(Foo(InBar()))<!>)
|
||||
|
||||
foo23(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<out L!!>>>")!>Foo(Foo(Bar()))<!>)
|
||||
foo23(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<out L!!>>>")!>Foo(Foo(Bar()))<!>)
|
||||
// Change after fix KT-37380
|
||||
foo23(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<L!!>>>"), TYPE_MISMATCH!>Foo(Foo(Bar()))<!>)
|
||||
foo23(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<L!!>>>"), TYPE_MISMATCH!>Foo(Foo(Bar()))<!>)
|
||||
|
||||
foo24(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<in L!!>>>")!>Foo(Foo(Bar()))<!>)
|
||||
foo24(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<in L!!>>>")!>Foo(Foo(Bar()))<!>)
|
||||
// Change after fix KT-37380
|
||||
foo24(x, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<L!!>>>"), TYPE_MISMATCH!>Foo(Foo(Bar()))<!>)
|
||||
foo24(y, <!DEBUG_INFO_EXPRESSION_TYPE("Foo<Foo<Bar<L!!>>>"), TYPE_MISMATCH!>Foo(Foo(Bar()))<!>)
|
||||
}
|
||||
|
||||
+1
@@ -248,6 +248,7 @@ class Main<L>(x: L?, y: L) {
|
||||
val x430 = foo43(x)
|
||||
val x431 = foo43(y)
|
||||
|
||||
// Change after fix KT-37380
|
||||
val x440 = foo44(x)
|
||||
val x441 = foo44(y)
|
||||
|
||||
|
||||
Vendored
+3
-2
@@ -248,8 +248,9 @@ class Main<L>(x: L?, y: L) {
|
||||
val x430 = <!DEBUG_INFO_EXPRESSION_TYPE("{IBar<L> & IFoo<L>}")!>foo43(x)<!>
|
||||
val x431 = <!DEBUG_INFO_EXPRESSION_TYPE("{IBar<L> & IFoo<L>}")!>foo43(y)<!>
|
||||
|
||||
val x440 = <!DEBUG_INFO_EXPRESSION_TYPE("{IBar<L> & IBar<in L> & IFoo<String>}")!>foo44(x)<!>
|
||||
val x441 = <!DEBUG_INFO_EXPRESSION_TYPE("{IBar<L> & IBar<in L> & IFoo<String>}")!>foo44(y)<!>
|
||||
// Change after fix KT-37380
|
||||
val x440 = <!DEBUG_INFO_EXPRESSION_TYPE("{IBar<L> & IFoo<String>}")!>foo44(x)<!>
|
||||
val x441 = <!DEBUG_INFO_EXPRESSION_TYPE("{IBar<L> & IFoo<String>}")!>foo44(y)<!>
|
||||
|
||||
val x450 = <!DEBUG_INFO_EXPRESSION_TYPE("OutBar<OutBar<Bar<L>>>")!>foo45(x)<!>
|
||||
val x451 = <!DEBUG_INFO_EXPRESSION_TYPE("OutBar<OutBar<Bar<L>>>")!>foo45(y)<!>
|
||||
|
||||
Reference in New Issue
Block a user