Incompatible types comparison inspection for Groovy?

Hi, Idea shows no warning for constructions like:

if (1 == "2") {


in Groovy code even with @CompileStatic or @TypeChecked. There is a "Incompatible type assignments" inspection for Groovy, but I wasn't able to find its equivalent for comparison.

Is there an inspection which detect (potentially) incompatible types compatison?



Please sign in to leave a comment.