[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// KT-338 Support.smartcasts in nested declarations
|
||||
|
||||
fun f(a: Any?) {
|
||||
if (a is B) {
|
||||
class C : X(a) {
|
||||
init {
|
||||
a.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface B {
|
||||
fun foo() {}
|
||||
}
|
||||
open class X(b: B)
|
||||
Reference in New Issue
Block a user