FIR: Fix case when smartcast receiver is used for call to private method
^KT-54432 Fixed
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// FIR_IDENTICAL
|
||||
// SKIP_TXT
|
||||
|
||||
abstract class A {
|
||||
fun foo(a: A) {
|
||||
a.prv()
|
||||
if (a is B) {
|
||||
a.prv()
|
||||
}
|
||||
}
|
||||
|
||||
private fun prv() {}
|
||||
}
|
||||
|
||||
abstract class B : A()
|
||||
Reference in New Issue
Block a user