[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION,-UNUSED_VARIABLE
|
||||
|
||||
fun <T : CharSequence?> T.bar1() {}
|
||||
fun CharSequence?.bar2() {}
|
||||
|
||||
fun <T : CharSequence> T.bar3() {}
|
||||
fun CharSequence.bar4() {}
|
||||
|
||||
fun <T : String?> T.foo() {
|
||||
if (this != null) {
|
||||
if (this != null) {}
|
||||
|
||||
length
|
||||
this?.length
|
||||
|
||||
bar1()
|
||||
bar2()
|
||||
bar3()
|
||||
bar4()
|
||||
|
||||
|
||||
this?.bar1()
|
||||
}
|
||||
|
||||
length
|
||||
|
||||
if (this is String) {
|
||||
length
|
||||
this?.length
|
||||
|
||||
bar1()
|
||||
bar2()
|
||||
bar3()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user