Files
openide/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyInArgumentCheck.html
alexey.afanasiev 892a0ba1fb [groovy] Proofreading inspections.
GitOrigin-RevId: 3f2da6a12ebc912aa0838ab3f7c01f939d29e94d
2021-06-07 21:47:27 +00:00

14 lines
266 B
HTML

<html>
<body>
Reports usages of membership operator <code>in</code> with items and containers of incompatible types.
<p><b>Example:</b></p>
<pre>
<code>
def list = [1, 2]
if ("foo" in list) {} // list of Integers can't contain String
</code>
</pre>
</body>
</html>