void () { // PY-4008 final PyFileImpl file = (PyFileImpl) getTestFile(); ensureVariableNotInIndex("xyzzy"); assertNotParsed(file); file.acceptChildren(new PyRecursiveElementVisitor()); // assert no error on switching from stub to AST assertNotNull(file.getTreeElement()); }