Traceback (most recent call last):


 "mypys", line 6, in <module>

main(__file__)


 "/tmp/mypy-0.510/mypy/main.py", line 46, in main

res = type_check_only(sources, bin_dir, options)


 "/tmp/mypy-0.510/mypy/main.py", line 93, in type_check_only

options=options)


 "/tmp/mypy-0.510/mypy/build.py", line 188, in build

graph = dispatch(sources, manager)


 "/tmp/mypy-0.510/mypy/build.py", line 1595, in dispatch

process_graph(graph, manager)


 "/tmp/mypy-0.510/mypy/build.py", line 1838, in process_graph

process_stale_scc(graph, scc, manager)


 "/tmp/mypy-0.510/mypy/build.py", line 1931, in process_stale_scc

graph[id].semantic_analysis()


 "/tmp/mypy-0.510/mypy/build.py", line 1495, in semantic_analysis

self.manager.semantic_analyzer.visit_file(self.tree, self.xpath, self.options)


 "/tmp/mypy-0.510/mypy/semanal.py", line 257, in visit_file

self.accept(d)


 "/tmp/mypy-0.510/mypy/semanal.py", line 3288, in accept

node.accept(self)


 "/tmp/mypy-0.510/mypy/nodes.py", line 749, in accept

return visitor.visit_class_def(self)


 "/tmp/mypy-0.510/mypy/semanal.py", line 620, in visit_class_def

defn.defs.accept(self)


 "/tmp/mypy-0.510/mypy/nodes.py", line 810, in accept

return visitor.visit_block(self)


 "/tmp/mypy-0.510/mypy/semanal.py", line 1375, in visit_block

self.accept(s)


 "/tmp/mypy-0.510/mypy/semanal.py", line 3288, in accept

node.accept(self)


 "/tmp/mypy-0.510/mypy/nodes.py", line 409, in accept

return visitor.visit_overloaded_func_def(self)


 "/tmp/mypy-0.510/mypy/semanal.py", line 516, in visit_overloaded_func_def

typ=defn.type)


 "/tmp/mypy-0.510/mypy/nodes.py", line 406, in name

return self.items[0].name()
IndexError: list index out of range

Traceback (most recent call last):


 "/tmp/GitPython/git/test/test_docs.py", line 467, in test_submodules

self.assertEqual(sm.children()[0].name, 'smmap')
# ... which has smmap as single submodule
IndexError: list index out of range
