[kotlin] DeMorgans law intention: don't suggest when the binary expression has Nothin...
authorToshiaki Kameyama <kmymtsak@gmail.com>
Sat, 28 May 2022 02:17:01 +0000 (11:17 +0900)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Sat, 28 May 2022 12:02:59 +0000 (12:02 +0000)
commit36597a900854c2103b6ef977480f398044f7b748
treec533d5fa71a20038ea81d658c6bf845aac9d139b
parentf8bb510a62e546145f9caeff6d32982ac90a4310
[kotlin] DeMorgans law intention: don't suggest when the binary expression has Nothing type expressions

^KTIJ-21870 Fixed

closes https://github.com/JetBrains/intellij-community/pull/2029

GitOrigin-RevId: 66fbdeebd043ae93966ea14fe1c6a643fc8634e0
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/intentions/ConvertBinaryExpressionWithDemorgansLawIntention.kt
plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/intentions/IntentionTestGenerated.java
plugins/kotlin/idea/tests/testData/intentions/convertBinaryExpressionWithDemorgansLaw/hasNothing.kt [new file with mode: 0644]