mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
14 lines
266 B
HTML
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>
|