CodeBlockModification...: count file as changed when no changed elements

It means that root PSI (KtFile itself) is changed

So #KT-19726 Fixed
So #KT-20157 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-09-12 16:04:30 +03:00
parent dd1ac5bb6b
commit dafb52a44a
3 changed files with 20 additions and 3 deletions
@@ -0,0 +1,13 @@
// TRUE
// SKIP_ANALYZE_CHECK
fun test() {<caret>
val someThing: Any? = null
val otherThing: Any? = null
if (!(someThing?.equals(otherThing) ?: otherThing == null)) {
// Some comment
}
// TYPE: }