Shouldn't an inspection fix be proposed for the highlighted check too?
Or is there a reason why the automatic conversion to range check isn't applicable there.
t
twisterrob
01/10/2024, 12:06 PM
Sounds like a false negative, if I were you, I would report it in https://youtrack.jetbrains.com/issues/KTIJ
To work around and force the inspection, you can use the "flip || to &&" refactor first.