FIR IDE: make smartcast API return unstable smartcasts
This commit is contained in:
committed by
Ilya Kirillov
parent
6462642988
commit
197079c85c
+10
@@ -0,0 +1,10 @@
|
||||
interface A
|
||||
interface B
|
||||
|
||||
fun <T> T.foo() where T: A, T: B {}
|
||||
|
||||
fun test(a: Any) {
|
||||
if (a is A && a is B) {
|
||||
<expr>a</expr>.foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user