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?
Marcin
Please sign in to leave a comment.
Hi Marcin,
I've created an issue http://youtrack.jetbrains.com/issue/IDEA-125752
Cheers,
Max
Thanks Maxim.
Marcin