KT-4568: Created the ConvertNegatedExpressionWithDemorgansLaw intention. Converts an expression of the form !(a &&,|| b) to its expanded equivalent under DeMorgan's law.
This commit is contained in:
committed by
Mikhael Bogdanov
parent
2147a88ed8
commit
55e888604e
@@ -0,0 +1,3 @@
|
||||
fun foo(a: Boolean, b: Boolean) : Boolean {
|
||||
return !<caret>(a && !b)
|
||||
}
|
||||
Reference in New Issue
Block a user