[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// !DUMP_CFG
|
||||
class A {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
fun test(b: Boolean) {
|
||||
val a: A?
|
||||
if (b) {
|
||||
a = A()
|
||||
a.foo()
|
||||
} else {
|
||||
a = null
|
||||
}
|
||||
a.<!INAPPLICABLE_CANDIDATE!>foo<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user