diff --git a/python/src/com/jetbrains/python/psi/PyUtil.java b/python/src/com/jetbrains/python/psi/PyUtil.java index e008c08005db..3ce5aebb1a3f 100644 --- a/python/src/com/jetbrains/python/psi/PyUtil.java +++ b/python/src/com/jetbrains/python/psi/PyUtil.java @@ -125,6 +125,7 @@ public class PyUtil { List result = new SmartList(); for (PsiElement child : element.getChildren()) { if (instanceOf(child, aClass)) { + //noinspection unchecked result.add((T)child); } else {