False positive removed in replace single line let intention #KT-14791 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-11-14 13:21:34 +03:00
parent 61da8be260
commit 09ae1f1a5d
7 changed files with 72 additions and 1 deletions
@@ -0,0 +1,15 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
interface A
interface B : A {
val bar: Any?
}
class Foo {
private val a: A = object : A {}
val isB: Boolean
get() = a.let<caret> { it is B && it.bar != null }
}