after_merge
stringlengths
28
79.6k
before_merge
stringlengths
20
79.6k
url
stringlengths
38
71
full_traceback
stringlengths
43
922k
traceback_type
stringclasses
555 values
def _load_json_file( file: str, manager: BuildManager, log_sucess: str, log_error: str ) -> Optional[Dict[str, Any]]: """A simple helper to read a JSON file with logging.""" try: data = manager.metastore.read(file) except IOError: manager.log(log_error + file) return None manager.trace(log_sucess + data.rstrip()) try: result = json.loads(data) except ValueError: # TODO: JSONDecodeError in 3.5 manager.errors.set_file(file, None) manager.errors.report( -1, -1, "Error reading JSON file;" " you likely have a bad cache.\n" "Try removing the {cache_dir} directory" " and run mypy again.".format(cache_dir=manager.options.cache_dir), blocker=True, ) return None else: return result
def _load_json_file( file: str, manager: BuildManager, log_sucess: str, log_error: str ) -> Optional[Dict[str, Any]]: """A simple helper to read a JSON file with logging.""" try: data = manager.metastore.read(file) except IOError: manager.log(log_error + file) return None manager.trace(log_sucess + data.rstrip()) result = json.loads(data) # TODO: Errors return result
https://github.com/python/mypy/issues/6156
Traceback (most recent call last): File "/usr/local/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/usr/local/lib/python3.7/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/lib/python3.7/site-packages/mypy/main.py", line 92, in main res = build.build(sources, options, None, flush_errors, fscache) File "/usr/local/lib/python3.7/site-packages/mypy/build.py", line 156, in build result = _build(sources, options, alt_lib_path, flush_errors, fscache) File "/usr/local/lib/python3.7/site-packages/mypy/build.py", line 206, in _build graph = dispatch(sources, manager) File "/usr/local/lib/python3.7/site-packages/mypy/build.py", line 2178, in dispatch graph = load_graph(sources, manager) File "/usr/local/lib/python3.7/site-packages/mypy/build.py", line 2336, in load_graph root_source=True) File "/usr/local/lib/python3.7/site-packages/mypy/build.py", line 1476, in __init__ self.meta = find_cache_meta(self.id, path, manager) File "/usr/local/lib/python3.7/site-packages/mypy/build.py", line 862, in find_cache_meta log_error='Could not load cache for {}: '.format(id)) File "/usr/local/lib/python3.7/site-packages/mypy/build.py", line 790, in _load_json_file result = json.loads(data) # TODO: Errors File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 105 column 5 (char 5143)
json.decoder.JSONDecodeError
def __init__(self, items: List["OverloadPart"]) -> None: super().__init__() self.items = items self.unanalyzed_items = items.copy() self.impl = None if len(items) > 0: self.set_line(items[0].line) self.is_final = False
def __init__(self, items: List["OverloadPart"]) -> None: super().__init__() assert len(items) > 0 self.items = items self.unanalyzed_items = items.copy() self.impl = None self.set_line(items[0].line) self.is_final = False
https://github.com/python/mypy/issues/6108
Traceback (most recent call last): File "/home/andrew/.virtualenvs/platform-api-clients/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/main.py", line 92, in main res = build.build(sources, options, None, flush_errors, fscache) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 156, in build result = _build(sources, options, alt_lib_path, flush_errors, fscache) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 206, in _build graph = dispatch(sources, manager) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 2232, in dispatch process_graph(graph, manager) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 2525, in process_graph process_fresh_modules(graph, prev_scc, manager) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 2609, in process_fresh_modules graph[id].load_tree() File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 1604, in load_tree self.tree = MypyFile.deserialize(data) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 277, in deserialize tree.names = SymbolTable.deserialize(data['names']) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 2864, in deserialize st[key] = SymbolTableNode.deserialize(value) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 2812, in deserialize node = SymbolNode.deserialize(data['node']) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 200, in deserialize return method(data) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 478, in deserialize for d in data['items']]) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 446, in __init__ assert len(items) > 0 AssertionError
AssertionError
def deserialize(cls, data: JsonDict) -> "OverloadedFuncDef": assert data[".class"] == "OverloadedFuncDef" res = OverloadedFuncDef( [cast(OverloadPart, SymbolNode.deserialize(d)) for d in data["items"]] ) if data.get("impl") is not None: res.impl = cast(OverloadPart, SymbolNode.deserialize(data["impl"])) # set line for empty overload items, as not set in __init__ if len(res.items) > 0: res.set_line(res.impl.line) if data.get("type") is not None: res.type = mypy.types.deserialize_type(data["type"]) res._fullname = data["fullname"] set_flags(res, data["flags"]) # NOTE: res.info will be set in the fixup phase. return res
def deserialize(cls, data: JsonDict) -> "OverloadedFuncDef": assert data[".class"] == "OverloadedFuncDef" res = OverloadedFuncDef( [cast(OverloadPart, SymbolNode.deserialize(d)) for d in data["items"]] ) if data.get("impl") is not None: res.impl = cast(OverloadPart, SymbolNode.deserialize(data["impl"])) if data.get("type") is not None: res.type = mypy.types.deserialize_type(data["type"]) res._fullname = data["fullname"] set_flags(res, data["flags"]) # NOTE: res.info will be set in the fixup phase. return res
https://github.com/python/mypy/issues/6108
Traceback (most recent call last): File "/home/andrew/.virtualenvs/platform-api-clients/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/main.py", line 92, in main res = build.build(sources, options, None, flush_errors, fscache) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 156, in build result = _build(sources, options, alt_lib_path, flush_errors, fscache) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 206, in _build graph = dispatch(sources, manager) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 2232, in dispatch process_graph(graph, manager) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 2525, in process_graph process_fresh_modules(graph, prev_scc, manager) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 2609, in process_fresh_modules graph[id].load_tree() File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/build.py", line 1604, in load_tree self.tree = MypyFile.deserialize(data) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 277, in deserialize tree.names = SymbolTable.deserialize(data['names']) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 2864, in deserialize st[key] = SymbolTableNode.deserialize(value) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 2812, in deserialize node = SymbolNode.deserialize(data['node']) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 200, in deserialize return method(data) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 478, in deserialize for d in data['items']]) File "/home/andrew/.virtualenvs/platform-api-clients/lib/python3.6/site-packages/mypy/nodes.py", line 446, in __init__ assert len(items) > 0 AssertionError
AssertionError
def array_value_callback(ctx: "mypy.plugin.AttributeContext") -> Type: """Callback to provide an accurate type for ctypes.Array.value.""" et = _get_array_element_type(ctx.type) if et is not None: types = [] # type: List[Type] for tp in union_items(et): if isinstance(tp, AnyType): types.append(AnyType(TypeOfAny.from_another_any, source_any=tp)) elif isinstance(tp, Instance) and tp.type.fullname() == "ctypes.c_char": types.append(_get_bytes_type(ctx.api)) elif isinstance(tp, Instance) and tp.type.fullname() == "ctypes.c_wchar": types.append(_get_text_type(ctx.api)) else: ctx.api.msg.fail( 'ctypes.Array attribute "value" is only available' ' with element type c_char or c_wchar, not "{}"'.format(et), ctx.context, ) return UnionType.make_simplified_union(types) return ctx.default_attr_type
def array_value_callback(ctx: "mypy.plugin.AttributeContext") -> Type: """Callback to provide an accurate type for ctypes.Array.value.""" et = _get_array_element_type(ctx.type) if et is not None: types = [] # type: List[Type] for tp in union_items(et): if isinstance(tp, AnyType): types.append(AnyType(TypeOfAny.from_another_any, source_any=tp)) elif isinstance(tp, Instance) and tp.type.fullname() == "ctypes.c_char": types.append(ctx.api.named_generic_type("builtins.bytes", [])) elif isinstance(tp, Instance) and tp.type.fullname() == "ctypes.c_wchar": types.append( ctx.api.named_generic_type( "builtins.str" if ctx.api.options.python_version >= (3,) else "builtins.unicode", [], ) ) else: ctx.api.msg.fail( 'ctypes.Array attribute "value" is only available' ' with element type c_char or c_wchar, not "{}"'.format(et), ctx.context, ) return UnionType.make_simplified_union(types) return ctx.default_attr_type
https://github.com/python/mypy/issues/5922
Traceback (most recent call last): File "C:\Python36\Scripts\mypy-script.py", line 11, in <module> load_entry_point('mypy==0.650+dev.3ad628d797defcbd892dede48151c8e390f45258', 'console_scripts', 'mypy')() File "c:\python36\lib\site-packages\mypy\__main__.py", line 7, in console_entry main(None) File "c:\python36\lib\site-packages\mypy\main.py", line 92, in main res = build.build(sources, options, None, flush_errors, fscache) File "c:\python36\lib\site-packages\mypy\build.py", line 156, in build result = _build(sources, options, alt_lib_path, flush_errors, fscache) File "c:\python36\lib\site-packages\mypy\build.py", line 206, in _build graph = dispatch(sources, manager) File "c:\python36\lib\site-packages\mypy\build.py", line 2230, in dispatch process_graph(graph, manager) File "c:\python36\lib\site-packages\mypy\build.py", line 2530, in process_graph process_stale_scc(graph, scc, manager) File "c:\python36\lib\site-packages\mypy\build.py", line 2653, in process_stale_scc graph[id].type_check_first_pass() File "c:\python36\lib\site-packages\mypy\build.py", line 1788, in type_check_first_pass self.type_checker().check_first_pass() File "c:\python36\lib\site-packages\mypy\checker.py", line 282, in check_first_pass self.accept(d) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 848, in accept return visitor.visit_class_def(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 1536, in visit_class_def self.accept(defn.defs) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 913, in accept return visitor.visit_block(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 1688, in visit_block self.accept(s) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 611, in accept return visitor.visit_func_def(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 704, in visit_func_def self._visit_func_def(defn) File "c:\python36\lib\site-packages\mypy\checker.py", line 708, in _visit_func_def self.check_func_item(defn, name=defn.name()) File "c:\python36\lib\site-packages\mypy\checker.py", line 770, in check_func_item self.check_func_def(defn, typ, name) File "c:\python36\lib\site-packages\mypy\checker.py", line 934, in check_func_def self.accept(item.body) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 913, in accept return visitor.visit_block(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 1688, in visit_block self.accept(s) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1046, in accept return visitor.visit_return_stmt(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 2627, in visit_return_stmt self.check_return_stmt(s) File "c:\python36\lib\site-packages\mypy\checker.py", line 2660, in check_return_stmt allow_none_return=allow_none_func_call) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1754, in accept return visitor.visit_tuple_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 2619, in visit_tuple_expr tt = self.accept(item, type_context_items[j]) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1421, in accept return visitor.visit_call_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 229, in visit_call_expr return self.visit_call_expr_inner(e, allow_none_return=allow_none_return) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 271, in visit_call_expr_inner callee_type = self.accept(e.callee, type_context, always_allow_any=True) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1373, in accept return visitor.visit_member_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1687, in visit_member_expr result = self.analyze_ordinary_member_access(e, is_lvalue) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1698, in analyze_ordinary_member_access original_type = self.accept(e.expr) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1373, in accept return visitor.visit_member_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1687, in visit_member_expr result = self.analyze_ordinary_member_access(e, is_lvalue) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1702, in analyze_ordinary_member_access original_type=original_type, chk=self.chk) File "c:\python36\lib\site-packages\mypy\checkmember.py", line 105, in analyze_member_access original_type=original_type, chk=chk) File "c:\python36\lib\site-packages\mypy\checkmember.py", line 282, in analyze_member_var_access chk=chk, implicit=implicit) File "c:\python36\lib\site-packages\mypy\checkmember.py", line 474, in analyze_var result = hook(AttributeContext(original_type, result, node, chk)) File "c:\python36\lib\site-packages\mypy\plugins\ctypes.py", line 173, in array_value_callback types.append(ctx.api.named_generic_type('builtins.bytes', [])) File "c:\python36\lib\site-packages\mypy\checker.py", line 3501, in named_generic_type info = self.lookup_typeinfo(name) File "c:\python36\lib\site-packages\mypy\checker.py", line 3509, in lookup_typeinfo assert isinstance(node, TypeInfo) AssertionError:
AssertionError
def array_raw_callback(ctx: "mypy.plugin.AttributeContext") -> Type: """Callback to provide an accurate type for ctypes.Array.raw.""" et = _get_array_element_type(ctx.type) if et is not None: types = [] # type: List[Type] for tp in union_items(et): if ( isinstance(tp, AnyType) or isinstance(tp, Instance) and tp.type.fullname() == "ctypes.c_char" ): types.append(_get_bytes_type(ctx.api)) else: ctx.api.msg.fail( 'ctypes.Array attribute "raw" is only available' ' with element type c_char, not "{}"'.format(et), ctx.context, ) return UnionType.make_simplified_union(types) return ctx.default_attr_type
def array_raw_callback(ctx: "mypy.plugin.AttributeContext") -> Type: """Callback to provide an accurate type for ctypes.Array.raw.""" et = _get_array_element_type(ctx.type) if et is not None: types = [] # type: List[Type] for tp in union_items(et): if ( isinstance(tp, AnyType) or isinstance(tp, Instance) and tp.type.fullname() == "ctypes.c_char" ): types.append(ctx.api.named_generic_type("builtins.bytes", [])) else: ctx.api.msg.fail( 'ctypes.Array attribute "raw" is only available' ' with element type c_char, not "{}"'.format(et), ctx.context, ) return UnionType.make_simplified_union(types) return ctx.default_attr_type
https://github.com/python/mypy/issues/5922
Traceback (most recent call last): File "C:\Python36\Scripts\mypy-script.py", line 11, in <module> load_entry_point('mypy==0.650+dev.3ad628d797defcbd892dede48151c8e390f45258', 'console_scripts', 'mypy')() File "c:\python36\lib\site-packages\mypy\__main__.py", line 7, in console_entry main(None) File "c:\python36\lib\site-packages\mypy\main.py", line 92, in main res = build.build(sources, options, None, flush_errors, fscache) File "c:\python36\lib\site-packages\mypy\build.py", line 156, in build result = _build(sources, options, alt_lib_path, flush_errors, fscache) File "c:\python36\lib\site-packages\mypy\build.py", line 206, in _build graph = dispatch(sources, manager) File "c:\python36\lib\site-packages\mypy\build.py", line 2230, in dispatch process_graph(graph, manager) File "c:\python36\lib\site-packages\mypy\build.py", line 2530, in process_graph process_stale_scc(graph, scc, manager) File "c:\python36\lib\site-packages\mypy\build.py", line 2653, in process_stale_scc graph[id].type_check_first_pass() File "c:\python36\lib\site-packages\mypy\build.py", line 1788, in type_check_first_pass self.type_checker().check_first_pass() File "c:\python36\lib\site-packages\mypy\checker.py", line 282, in check_first_pass self.accept(d) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 848, in accept return visitor.visit_class_def(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 1536, in visit_class_def self.accept(defn.defs) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 913, in accept return visitor.visit_block(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 1688, in visit_block self.accept(s) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 611, in accept return visitor.visit_func_def(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 704, in visit_func_def self._visit_func_def(defn) File "c:\python36\lib\site-packages\mypy\checker.py", line 708, in _visit_func_def self.check_func_item(defn, name=defn.name()) File "c:\python36\lib\site-packages\mypy\checker.py", line 770, in check_func_item self.check_func_def(defn, typ, name) File "c:\python36\lib\site-packages\mypy\checker.py", line 934, in check_func_def self.accept(item.body) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 913, in accept return visitor.visit_block(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 1688, in visit_block self.accept(s) File "c:\python36\lib\site-packages\mypy\checker.py", line 393, in accept stmt.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1046, in accept return visitor.visit_return_stmt(self) File "c:\python36\lib\site-packages\mypy\checker.py", line 2627, in visit_return_stmt self.check_return_stmt(s) File "c:\python36\lib\site-packages\mypy\checker.py", line 2660, in check_return_stmt allow_none_return=allow_none_func_call) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1754, in accept return visitor.visit_tuple_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 2619, in visit_tuple_expr tt = self.accept(item, type_context_items[j]) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1421, in accept return visitor.visit_call_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 229, in visit_call_expr return self.visit_call_expr_inner(e, allow_none_return=allow_none_return) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 271, in visit_call_expr_inner callee_type = self.accept(e.callee, type_context, always_allow_any=True) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1373, in accept return visitor.visit_member_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1687, in visit_member_expr result = self.analyze_ordinary_member_access(e, is_lvalue) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1698, in analyze_ordinary_member_access original_type = self.accept(e.expr) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 3060, in accept typ = node.accept(self) File "c:\python36\lib\site-packages\mypy\nodes.py", line 1373, in accept return visitor.visit_member_expr(self) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1687, in visit_member_expr result = self.analyze_ordinary_member_access(e, is_lvalue) File "c:\python36\lib\site-packages\mypy\checkexpr.py", line 1702, in analyze_ordinary_member_access original_type=original_type, chk=self.chk) File "c:\python36\lib\site-packages\mypy\checkmember.py", line 105, in analyze_member_access original_type=original_type, chk=chk) File "c:\python36\lib\site-packages\mypy\checkmember.py", line 282, in analyze_member_var_access chk=chk, implicit=implicit) File "c:\python36\lib\site-packages\mypy\checkmember.py", line 474, in analyze_var result = hook(AttributeContext(original_type, result, node, chk)) File "c:\python36\lib\site-packages\mypy\plugins\ctypes.py", line 173, in array_value_callback types.append(ctx.api.named_generic_type('builtins.bytes', [])) File "c:\python36\lib\site-packages\mypy\checker.py", line 3501, in named_generic_type info = self.lookup_typeinfo(name) File "c:\python36\lib\site-packages\mypy\checker.py", line 3509, in lookup_typeinfo assert isinstance(node, TypeInfo) AssertionError:
AssertionError
def visit_call_expr(self, expr: CallExpr) -> None: """Analyze a call expression. Some call expressions are recognized as special forms, including cast(...). """ if expr.analyzed: return expr.callee.accept(self) if refers_to_fullname(expr.callee, "typing.cast"): # Special form cast(...). if not self.check_fixed_args(expr, 2, "cast"): return # Translate first argument to an unanalyzed type. try: target = expr_to_unanalyzed_type(expr.args[0]) except TypeTranslationError: self.fail("Cast target is not a type", expr) return # Piggyback CastExpr object to the CallExpr object; it takes # precedence over the CallExpr semantics. expr.analyzed = CastExpr(expr.args[1], target) expr.analyzed.line = expr.line expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "builtins.reveal_type"): if not self.check_fixed_args(expr, 1, "reveal_type"): return expr.analyzed = RevealExpr(kind=REVEAL_TYPE, expr=expr.args[0]) expr.analyzed.line = expr.line expr.analyzed.column = expr.column expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "builtins.reveal_locals"): # Store the local variable names into the RevealExpr for use in the # type checking pass local_nodes = [] # type: List[Var] if self.is_module_scope(): # try to determine just the variable declarations in module scope # self.globals.values() contains SymbolTableNode's # Each SymbolTableNode has an attribute node that is nodes.Var # look for variable nodes that marked as is_inferred # Each symboltable node has a Var node as .node local_nodes = [ n.node for name, n in self.globals.items() if getattr(n.node, "is_inferred", False) and isinstance(n.node, Var) ] elif self.is_class_scope(): # type = None # type: Optional[TypeInfo] if self.type is not None: local_nodes = [ st.node for st in self.type.names.values() if isinstance(st.node, Var) ] elif self.is_func_scope(): # locals = None # type: List[Optional[SymbolTable]] if self.locals is not None: symbol_table = self.locals[-1] if symbol_table is not None: local_nodes = [ st.node for st in symbol_table.values() if isinstance(st.node, Var) ] expr.analyzed = RevealExpr(kind=REVEAL_LOCALS, local_nodes=local_nodes) expr.analyzed.line = expr.line expr.analyzed.column = expr.column expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "typing.Any"): # Special form Any(...) no longer supported. self.fail("Any(...) is no longer supported. Use cast(Any, ...) instead", expr) elif refers_to_fullname(expr.callee, "typing._promote"): # Special form _promote(...). if not self.check_fixed_args(expr, 1, "_promote"): return # Translate first argument to an unanalyzed type. try: target = expr_to_unanalyzed_type(expr.args[0]) except TypeTranslationError: self.fail("Argument 1 to _promote is not a type", expr) return expr.analyzed = PromoteExpr(target) expr.analyzed.line = expr.line expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "builtins.dict"): expr.analyzed = self.translate_dict_call(expr) elif refers_to_fullname(expr.callee, "builtins.divmod"): if not self.check_fixed_args(expr, 2, "divmod"): return expr.analyzed = OpExpr("divmod", expr.args[0], expr.args[1]) expr.analyzed.line = expr.line expr.analyzed.accept(self) else: # Normal call expression. for a in expr.args: a.accept(self) if ( isinstance(expr.callee, MemberExpr) and isinstance(expr.callee.expr, NameExpr) and expr.callee.expr.name == "__all__" and expr.callee.expr.kind == GDEF and expr.callee.name in ("append", "extend") ): if expr.callee.name == "append" and expr.args: self.add_exports(expr.args[0]) elif ( expr.callee.name == "extend" and expr.args and isinstance(expr.args[0], (ListExpr, TupleExpr)) ): self.add_exports(expr.args[0].items)
def visit_call_expr(self, expr: CallExpr) -> None: """Analyze a call expression. Some call expressions are recognized as special forms, including cast(...). """ if expr.analyzed: return expr.callee.accept(self) if refers_to_fullname(expr.callee, "typing.cast"): # Special form cast(...). if not self.check_fixed_args(expr, 2, "cast"): return # Translate first argument to an unanalyzed type. try: target = expr_to_unanalyzed_type(expr.args[0]) except TypeTranslationError: self.fail("Cast target is not a type", expr) return # Piggyback CastExpr object to the CallExpr object; it takes # precedence over the CallExpr semantics. expr.analyzed = CastExpr(expr.args[1], target) expr.analyzed.line = expr.line expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "builtins.reveal_type"): if not self.check_fixed_args(expr, 1, "reveal_type"): return expr.analyzed = RevealExpr(kind=REVEAL_TYPE, expr=expr.args[0]) expr.analyzed.line = expr.line expr.analyzed.column = expr.column expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "builtins.reveal_locals"): # Store the local variable names into the RevealExpr for use in the # type checking pass local_nodes = [] # type: List[Var] if self.is_module_scope(): # try to determine just the variable declarations in module scope # self.globals.values() contains SymbolTableNode's # Each SymbolTableNode has an attribute node that is nodes.Var # look for variable nodes that marked as is_inferred # Each symboltable node has a Var node as .node local_nodes = cast( List[Var], [ n.node for name, n in self.globals.items() if getattr(n.node, "is_inferred", False) ], ) elif self.is_class_scope(): # type = None # type: Optional[TypeInfo] if self.type is not None: local_nodes = cast( List[Var], [st.node for st in self.type.names.values()] ) elif self.is_func_scope(): # locals = None # type: List[Optional[SymbolTable]] if self.locals is not None: symbol_table = self.locals[-1] if symbol_table is not None: local_nodes = cast( List[Var], [st.node for st in symbol_table.values()] ) expr.analyzed = RevealExpr(kind=REVEAL_LOCALS, local_nodes=local_nodes) expr.analyzed.line = expr.line expr.analyzed.column = expr.column expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "typing.Any"): # Special form Any(...) no longer supported. self.fail("Any(...) is no longer supported. Use cast(Any, ...) instead", expr) elif refers_to_fullname(expr.callee, "typing._promote"): # Special form _promote(...). if not self.check_fixed_args(expr, 1, "_promote"): return # Translate first argument to an unanalyzed type. try: target = expr_to_unanalyzed_type(expr.args[0]) except TypeTranslationError: self.fail("Argument 1 to _promote is not a type", expr) return expr.analyzed = PromoteExpr(target) expr.analyzed.line = expr.line expr.analyzed.accept(self) elif refers_to_fullname(expr.callee, "builtins.dict"): expr.analyzed = self.translate_dict_call(expr) elif refers_to_fullname(expr.callee, "builtins.divmod"): if not self.check_fixed_args(expr, 2, "divmod"): return expr.analyzed = OpExpr("divmod", expr.args[0], expr.args[1]) expr.analyzed.line = expr.line expr.analyzed.accept(self) else: # Normal call expression. for a in expr.args: a.accept(self) if ( isinstance(expr.callee, MemberExpr) and isinstance(expr.callee.expr, NameExpr) and expr.callee.expr.name == "__all__" and expr.callee.expr.kind == GDEF and expr.callee.name in ("append", "extend") ): if expr.callee.name == "append" and expr.args: self.add_exports(expr.args[0]) elif ( expr.callee.name == "extend" and expr.args and isinstance(expr.args[0], (ListExpr, TupleExpr)) ): self.add_exports(expr.args[0].items)
https://github.com/python/mypy/issues/5915
Traceback (most recent call last): File ".../bin/mypy", line 11, in <module> sys.exit(console_entry()) File ".../lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File ".../lib/python3.6/site-packages/mypy/main.py", line 92, in main res = build.build(sources, options, None, flush_errors, fscache) File ".../lib/python3.6/site-packages/mypy/build.py", line 155, in build result = _build(sources, options, alt_lib_path, flush_errors, fscache) File ".../lib/python3.6/site-packages/mypy/build.py", line 204, in _build graph = dispatch(sources, manager) File ".../lib/python3.6/site-packages/mypy/build.py", line 2172, in dispatch process_graph(graph, manager) File ".../lib/python3.6/site-packages/mypy/build.py", line 2469, in process_graph process_stale_scc(graph, scc, manager) File ".../lib/python3.6/site-packages/mypy/build.py", line 2592, in process_stale_scc graph[id].type_check_first_pass() File ".../lib/python3.6/site-packages/mypy/build.py", line 1730, in type_check_first_pass self.type_checker().check_first_pass() File ".../lib/python3.6/site-packages/mypy/checker.py", line 282, in check_first_pass self.accept(d) File ".../lib/python3.6/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File ".../lib/python3.6/site-packages/mypy/nodes.py", line 845, in accept return visitor.visit_class_def(self) File ".../lib/python3.6/site-packages/mypy/checker.py", line 1536, in visit_class_def self.accept(defn.defs) File ".../lib/python3.6/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File ".../lib/python3.6/site-packages/mypy/nodes.py", line 910, in accept return visitor.visit_block(self) File ".../lib/python3.6/site-packages/mypy/checker.py", line 1688, in visit_block self.accept(s) File ".../lib/python3.6/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File ".../lib/python3.6/site-packages/mypy/nodes.py", line 925, in accept return visitor.visit_expression_stmt(self) File ".../lib/python3.6/site-packages/mypy/checker.py", line 2602, in visit_expression_stmt self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True) File ".../lib/python3.6/site-packages/mypy/checkexpr.py", line 3003, in accept typ = self.visit_call_expr(node, allow_none_return=True) File ".../lib/python3.6/site-packages/mypy/checkexpr.py", line 228, in visit_call_expr return self.accept(e.analyzed, self.type_context[-1]) File ".../lib/python3.6/site-packages/mypy/checkexpr.py", line 3007, in accept typ = node.accept(self) File ".../lib/python3.6/site-packages/mypy/nodes.py", line 1674, in accept return visitor.visit_reveal_expr(self) File ".../lib/python3.6/site-packages/mypy/checkexpr.py", line 2362, in visit_reveal_expr } if expr.local_nodes is not None else {} File ".../lib/python3.6/site-packages/mypy/checkexpr.py", line 2361, in <dictcomp> var_node.name(): var_node.type for var_node in expr.local_nodes AttributeError: 'TypeInfo' object has no attribute 'type'
AttributeError
def visit_member_expr(self, expr: MemberExpr) -> None: base = expr.expr base.accept(self) # Bind references to module attributes. if isinstance(base, RefExpr) and base.kind == MODULE_REF: # This branch handles the case foo.bar where foo is a module. # In this case base.node is the module's MypyFile and we look up # bar in its namespace. This must be done for all types of bar. file = cast( Optional[MypyFile], base.node ) # can't use isinstance due to issue #2999 # TODO: Should we actually use this? Not sure if this makes a difference. # if file.fullname() == self.cur_mod_id: # names = self.globals # else: # names = file.names n = file.names.get(expr.name, None) if file is not None else None n = self.dereference_module_cross_ref(n) if n and not n.module_hidden: if not n: return n = self.rebind_symbol_table_node(n) if n: # TODO: What if None? expr.kind = n.kind expr.fullname = n.fullname expr.node = n.node elif ( file is not None and (file.is_stub or self.options.python_version >= (3, 7)) and "__getattr__" in file.names ): # If there is a module-level __getattr__, then any attribute on the module is valid # per PEP 484. getattr_defn = file.names["__getattr__"] if not getattr_defn: typ = AnyType(TypeOfAny.from_error) # type: Type elif isinstance(getattr_defn.node, (FuncDef, Var)): if isinstance(getattr_defn.node.type, CallableType): typ = getattr_defn.node.type.ret_type else: typ = AnyType(TypeOfAny.from_error) else: typ = AnyType(TypeOfAny.from_error) expr.kind = GDEF expr.fullname = "{}.{}".format(file.fullname(), expr.name) expr.node = Var(expr.name, type=typ) else: # We only catch some errors here; the rest will be # caught during type checking. # # This way we can report a larger number of errors in # one type checker run. If we reported errors here, # the build would terminate after semantic analysis # and we wouldn't be able to report any type errors. full_name = "%s.%s" % ( file.fullname() if file is not None else None, expr.name, ) mod_name = " '%s'" % file.fullname() if file is not None else "" if full_name in obsolete_name_mapping: self.fail( "Module%s has no attribute %r (it's now called %r)" % (mod_name, expr.name, obsolete_name_mapping[full_name]), expr, ) elif isinstance(base, RefExpr): # This branch handles the case C.bar (or cls.bar or self.bar inside # a classmethod/method), where C is a class and bar is a type # definition or a module resulting from `import bar` (or a module # assignment) inside class C. We look up bar in the class' TypeInfo # namespace. This is done only when bar is a module or a type; # other things (e.g. methods) are handled by other code in # checkmember. type_info = None if isinstance(base.node, TypeInfo): # C.bar where C is a class type_info = base.node elif isinstance(base.node, Var) and self.type and self.function_stack: # check for self.bar or cls.bar in method/classmethod func_def = self.function_stack[-1] if not func_def.is_static and isinstance(func_def.type, CallableType): formal_arg = func_def.type.argument_by_name(base.node.name()) if formal_arg and formal_arg.pos == 0: type_info = self.type elif isinstance(base.node, TypeAlias) and base.node.no_args: if isinstance(base.node.target, Instance): type_info = base.node.target.type if type_info: n = type_info.names.get(expr.name) if n is not None and ( n.kind == MODULE_REF or isinstance(n.node, (TypeInfo, TypeAlias)) ): if not n: return expr.kind = n.kind expr.fullname = n.fullname expr.node = n.node
def visit_member_expr(self, expr: MemberExpr) -> None: base = expr.expr base.accept(self) # Bind references to module attributes. if isinstance(base, RefExpr) and base.kind == MODULE_REF: # This branch handles the case foo.bar where foo is a module. # In this case base.node is the module's MypyFile and we look up # bar in its namespace. This must be done for all types of bar. file = cast( Optional[MypyFile], base.node ) # can't use isinstance due to issue #2999 # TODO: Should we actually use this? Not sure if this makes a difference. # if file.fullname() == self.cur_mod_id: # names = self.globals # else: # names = file.names n = file.names.get(expr.name, None) if file is not None else None n = self.dereference_module_cross_ref(n) if n and not n.module_hidden: if not n: return n = self.rebind_symbol_table_node(n) if n: # TODO: What if None? expr.kind = n.kind expr.fullname = n.fullname expr.node = n.node elif ( file is not None and (file.is_stub or self.options.python_version >= (3, 7)) and "__getattr__" in file.names ): # If there is a module-level __getattr__, then any attribute on the module is valid # per PEP 484. getattr_defn = file.names["__getattr__"] if not getattr_defn: typ = AnyType(TypeOfAny.from_error) # type: Type elif isinstance(getattr_defn.node, (FuncDef, Var)): if isinstance(getattr_defn.node.type, CallableType): typ = getattr_defn.node.type.ret_type else: typ = AnyType(TypeOfAny.from_error) else: typ = AnyType(TypeOfAny.from_error) expr.kind = MDEF expr.fullname = "{}.{}".format(file.fullname(), expr.name) expr.node = Var(expr.name, type=typ) else: # We only catch some errors here; the rest will be # caught during type checking. # # This way we can report a larger number of errors in # one type checker run. If we reported errors here, # the build would terminate after semantic analysis # and we wouldn't be able to report any type errors. full_name = "%s.%s" % ( file.fullname() if file is not None else None, expr.name, ) mod_name = " '%s'" % file.fullname() if file is not None else "" if full_name in obsolete_name_mapping: self.fail( "Module%s has no attribute %r (it's now called %r)" % (mod_name, expr.name, obsolete_name_mapping[full_name]), expr, ) elif isinstance(base, RefExpr): # This branch handles the case C.bar (or cls.bar or self.bar inside # a classmethod/method), where C is a class and bar is a type # definition or a module resulting from `import bar` (or a module # assignment) inside class C. We look up bar in the class' TypeInfo # namespace. This is done only when bar is a module or a type; # other things (e.g. methods) are handled by other code in # checkmember. type_info = None if isinstance(base.node, TypeInfo): # C.bar where C is a class type_info = base.node elif isinstance(base.node, Var) and self.type and self.function_stack: # check for self.bar or cls.bar in method/classmethod func_def = self.function_stack[-1] if not func_def.is_static and isinstance(func_def.type, CallableType): formal_arg = func_def.type.argument_by_name(base.node.name()) if formal_arg and formal_arg.pos == 0: type_info = self.type elif isinstance(base.node, TypeAlias) and base.node.no_args: if isinstance(base.node.target, Instance): type_info = base.node.target.type if type_info: n = type_info.names.get(expr.name) if n is not None and ( n.kind == MODULE_REF or isinstance(n.node, (TypeInfo, TypeAlias)) ): if not n: return expr.kind = n.kind expr.fullname = n.fullname expr.node = n.node
https://github.com/python/mypy/issues/5866
sphinx/util/docutils.py:61: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.641 Traceback (most recent call last): File "/Users/tkomiya/.pyenv/versions/3.7.1/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/main.py", line 92, in main res = build.build(sources, options, None, flush_errors, fscache) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/build.py", line 155, in build result = _build(sources, options, alt_lib_path, flush_errors, fscache) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/build.py", line 204, in _build graph = dispatch(sources, manager) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/build.py", line 2172, in dispatch process_graph(graph, manager) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/build.py", line 2469, in process_graph process_stale_scc(graph, scc, manager) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/build.py", line 2592, in process_stale_scc graph[id].type_check_first_pass() File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/build.py", line 1730, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 282, in check_first_pass self.accept(d) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/nodes.py", line 688, in accept return visitor.visit_decorator(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 3002, in visit_decorator self.check_func_item(e.func, name=e.func.name()) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 770, in check_func_item self.check_func_def(defn, typ, name) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 934, in check_func_def self.accept(item.body) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/nodes.py", line 910, in accept return visitor.visit_block(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 1688, in visit_block self.accept(s) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/nodes.py", line 1137, in accept return visitor.visit_try_stmt(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 2808, in visit_try_stmt self.accept(s.finally_body) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/nodes.py", line 910, in accept return visitor.visit_block(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 1688, in visit_block self.accept(s) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 393, in accept stmt.accept(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/nodes.py", line 965, in accept return visitor.visit_assignment_stmt(self) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 1696, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 1751, in check_assignment if self.check_compatibility_all_supers(lvalue, lvalue_type, rvalue): File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/checker.py", line 1822, in check_compatibility_all_supers len(lvalue_node.info.bases) > 0): File "/Users/tkomiya/.pyenv/versions/3.7.1/lib/python3.7/site-packages/mypy/nodes.py", line 2488, in __getattribute__ raise AssertionError(object.__getattribute__(self, 'msg')) AssertionError: Var is lacking info sphinx/util/docutils.py:61: : note: use --pdb to drop into pdb
AssertionError
def main() -> None: # Make sure that the current directory is in sys.path so that # stubgen can be run on packages in the current directory. if "" not in sys.path: sys.path.insert(0, "") options = parse_options(sys.argv[1:]) if not os.path.isdir(options.output_dir): raise SystemExit('Directory "{}" does not exist'.format(options.output_dir)) if options.recursive and options.no_import: raise SystemExit( "recursive stub generation without importing is not currently supported" ) sigs = {} # type: Any class_sigs = {} # type: Any if options.doc_dir: all_sigs = [] # type: Any all_class_sigs = [] # type: Any for path in glob.glob("%s/*.rst" % options.doc_dir): with open(path) as f: func_sigs, class_sigs = parse_all_signatures(f.readlines()) all_sigs += func_sigs all_class_sigs += class_sigs sigs = dict(find_unique_signatures(all_sigs)) class_sigs = dict(find_unique_signatures(all_class_sigs)) for module in ( options.modules if not options.recursive else walk_packages(options.modules) ): try: generate_stub_for_module( module, output_dir=options.output_dir, add_header=True, sigs=sigs, class_sigs=class_sigs, pyversion=options.pyversion, no_import=options.no_import, search_path=options.search_path, interpreter=options.interpreter, include_private=options.include_private, ) except Exception as e: if not options.ignore_errors: raise e else: print("Stub generation failed for", module, file=sys.stderr)
def main() -> None: options = parse_options(sys.argv[1:]) if not os.path.isdir(options.output_dir): raise SystemExit('Directory "{}" does not exist'.format(options.output_dir)) if options.recursive and options.no_import: raise SystemExit( "recursive stub generation without importing is not currently supported" ) sigs = {} # type: Any class_sigs = {} # type: Any if options.doc_dir: all_sigs = [] # type: Any all_class_sigs = [] # type: Any for path in glob.glob("%s/*.rst" % options.doc_dir): with open(path) as f: func_sigs, class_sigs = parse_all_signatures(f.readlines()) all_sigs += func_sigs all_class_sigs += class_sigs sigs = dict(find_unique_signatures(all_sigs)) class_sigs = dict(find_unique_signatures(all_class_sigs)) for module in ( options.modules if not options.recursive else walk_packages(options.modules) ): try: generate_stub_for_module( module, output_dir=options.output_dir, add_header=True, sigs=sigs, class_sigs=class_sigs, pyversion=options.pyversion, no_import=options.no_import, search_path=options.search_path, interpreter=options.interpreter, include_private=options.include_private, ) except Exception as e: if not options.ignore_errors: raise e else: print("Stub generation failed for", module, file=sys.stderr)
https://github.com/python/mypy/issues/4571
test>pip install git+https://github.com/python/mypy test>tree /f Folder PATH listing C:. └───pkg test.py __init__.py test>stubgen pkg Traceback (most recent call last): File "c:\python36\lib\site-packages\mypy\stubgen.py", line 150, in find_module_path_and_all mod = importlib.import_module(module) File "c:\python36\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked ModuleNotFoundError: No module named 'pkg' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\python36\lib\site-packages\mypy\stubgen.py", line 102, in generate_stub_for_module interpreter=interpreter) File "c:\python36\lib\site-packages\mypy\stubgen.py", line 152, in find_module_path_and_all raise CantImport(module) mypy.stubgen.CantImport: pkg Failed to import pkg; skipping it
ModuleNotFoundError
def check_second_pass( self, todo: Optional[Sequence[Union[DeferredNode, FineGrainedDeferredNode]]] = None ) -> bool: """Run second or following pass of type checking. This goes through deferred nodes, returning True if there were any. """ self.recurse_into_functions = True with experiments.strict_optional_set(self.options.strict_optional): if not todo and not self.deferred_nodes: return False self.errors.set_file(self.path, self.tree.fullname(), scope=self.tscope) self.tscope.enter_file(self.tree.fullname()) self.pass_num += 1 if not todo: todo = self.deferred_nodes else: assert not self.deferred_nodes self.deferred_nodes = [] done = set() # type: Set[Union[DeferredNodeType, FineGrainedDeferredNodeType]] for node, type_name, active_typeinfo in todo: if node in done: continue # This is useful for debugging: # print("XXX in pass %d, class %s, function %s" % # (self.pass_num, type_name, node.fullname() or node.name())) done.add(node) with ( self.tscope.class_scope(active_typeinfo) if active_typeinfo else nothing() ): with ( self.scope.push_class(active_typeinfo) if active_typeinfo else nothing() ): self.check_partial(node) self.tscope.leave() return True
def check_second_pass(self, todo: Optional[List[DeferredNode]] = None) -> bool: """Run second or following pass of type checking. This goes through deferred nodes, returning True if there were any. """ self.recurse_into_functions = True with experiments.strict_optional_set(self.options.strict_optional): if not todo and not self.deferred_nodes: return False self.errors.set_file(self.path, self.tree.fullname(), scope=self.tscope) self.tscope.enter_file(self.tree.fullname()) self.pass_num += 1 if not todo: todo = self.deferred_nodes else: assert not self.deferred_nodes self.deferred_nodes = [] done = set() # type: Set[Union[FuncDef, LambdaExpr, MypyFile, OverloadedFuncDef]] for node, type_name, active_typeinfo in todo: if node in done: continue # This is useful for debugging: # print("XXX in pass %d, class %s, function %s" % # (self.pass_num, type_name, node.fullname() or node.name())) done.add(node) with ( self.tscope.class_scope(active_typeinfo) if active_typeinfo else nothing() ): with ( self.scope.push_class(active_typeinfo) if active_typeinfo else nothing() ): self.check_partial(node) self.tscope.leave() return True
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def check_partial( self, node: Union[DeferredNodeType, FineGrainedDeferredNodeType] ) -> None: if isinstance(node, MypyFile): self.check_top_level(node) else: self.recurse_into_functions = True if isinstance(node, LambdaExpr): self.expr_checker.accept(node) else: self.accept(node)
def check_partial( self, node: Union[FuncDef, LambdaExpr, MypyFile, OverloadedFuncDef] ) -> None: if isinstance(node, MypyFile): self.check_top_level(node) else: self.recurse_into_functions = True if isinstance(node, LambdaExpr): self.expr_checker.accept(node) else: self.accept(node)
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def handle_cannot_determine_type(self, name: str, context: Context) -> None: node = self.scope.top_non_lambda_function() if self.pass_num < self.last_pass and isinstance(node, FuncDef): # Don't report an error yet. Just defer. Note that we don't defer # lambdas because they are coupled to the surrounding function # through the binder and the inferred type of the lambda, so it # would get messy. enclosing_class = self.scope.enclosing_class() self.defer_node(node, enclosing_class) # Set a marker so that we won't infer additional types in this # function. Any inferred types could be bogus, because there's at # least one type that we don't know. self.current_node_deferred = True else: self.msg.cannot_determine_type(name, context)
def handle_cannot_determine_type(self, name: str, context: Context) -> None: node = self.scope.top_non_lambda_function() if self.pass_num < self.last_pass and isinstance(node, FuncDef): # Don't report an error yet. Just defer. Note that we don't defer # lambdas because they are coupled to the surrounding function # through the binder and the inferred type of the lambda, so it # would get messy. if self.errors.type_name: type_name = self.errors.type_name[-1] else: type_name = None # Shouldn't we freeze the entire scope? enclosing_class = self.scope.enclosing_class() self.deferred_nodes.append(DeferredNode(node, type_name, enclosing_class)) # Set a marker so that we won't infer additional types in this # function. Any inferred types could be bogus, because there's at # least one type that we don't know. self.current_node_deferred = True else: self.msg.cannot_determine_type(name, context)
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def check_method_override( self, defn: Union[FuncDef, OverloadedFuncDef, Decorator] ) -> None: """Check if function definition is compatible with base classes. This may defer the method if a signature is not available in at least one base class. """ # Check against definitions in base classes. for base in defn.info.mro[1:]: if self.check_method_or_accessor_override_for_base(defn, base): # Node was deferred, we will have another attempt later. return
def check_method_override(self, defn: Union[FuncBase, Decorator]) -> None: """Check if function definition is compatible with base classes.""" # Check against definitions in base classes. for base in defn.info.mro[1:]: self.check_method_or_accessor_override_for_base(defn, base)
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def check_method_or_accessor_override_for_base( self, defn: Union[FuncDef, OverloadedFuncDef, Decorator], base: TypeInfo ) -> bool: """Check if method definition is compatible with a base class. Return True if the node was deferred because one of the corresponding superclass nodes is not ready. """ if base: name = defn.name() base_attr = base.names.get(name) if base_attr: # First, check if we override a final (always an error, even with Any types). if is_final_node(base_attr.node): self.msg.cant_override_final(name, base.name(), defn) # Second, final can't override anything writeable independently of types. if defn.is_final: self.check_no_writable(name, base_attr.node, defn) # Check the type of override. if name not in ("__init__", "__new__", "__init_subclass__"): # Check method override # (__init__, __new__, __init_subclass__ are special). if self.check_method_override_for_base_with_name(defn, name, base): return True if name in nodes.inplace_operator_methods: # Figure out the name of the corresponding operator method. method = "__" + name[3:] # An inplace operator method such as __iadd__ might not be # always introduced safely if a base class defined __add__. # TODO can't come up with an example where this is # necessary; now it's "just in case" return self.check_method_override_for_base_with_name(defn, method, base) return False
def check_method_or_accessor_override_for_base( self, defn: Union[FuncBase, Decorator], base: TypeInfo ) -> None: """Check if method definition is compatible with a base class.""" if base: name = defn.name() base_attr = base.names.get(name) if base_attr: # First, check if we override a final (always an error, even with Any types). if is_final_node(base_attr.node): self.msg.cant_override_final(name, base.name(), defn) # Second, final can't override anything writeable independently of types. if defn.is_final: self.check_no_writable(name, base_attr.node, defn) # Check the type of override. if name not in ("__init__", "__new__", "__init_subclass__"): # Check method override # (__init__, __new__, __init_subclass__ are special). self.check_method_override_for_base_with_name(defn, name, base) if name in nodes.inplace_operator_methods: # Figure out the name of the corresponding operator method. method = "__" + name[3:] # An inplace operator method such as __iadd__ might not be # always introduced safely if a base class defined __add__. # TODO can't come up with an example where this is # necessary; now it's "just in case" self.check_method_override_for_base_with_name(defn, method, base)
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def check_method_override_for_base_with_name( self, defn: Union[FuncDef, OverloadedFuncDef, Decorator], name: str, base: TypeInfo ) -> bool: """Check if overriding an attribute `name` of `base` with `defn` is valid. Return True if the supertype node was not analysed yet, and `defn` was deferred. """ base_attr = base.names.get(name) if base_attr: # The name of the method is defined in the base class. # Point errors at the 'def' line (important for backward compatibility # of type ignores). if not isinstance(defn, Decorator): context = defn else: context = defn.func # Construct the type of the overriding method. if isinstance(defn, (FuncDef, OverloadedFuncDef)): typ = self.function_type(defn) # type: Type override_class_or_static = defn.is_class or defn.is_static else: assert defn.var.is_ready assert defn.var.type is not None typ = defn.var.type override_class_or_static = defn.func.is_class or defn.func.is_static if isinstance(typ, FunctionLike) and not is_static(context): typ = bind_self(typ, self.scope.active_self_type()) # Map the overridden method type to subtype context so that # it can be checked for compatibility. original_type = base_attr.type original_node = base_attr.node if original_type is None: if self.pass_num < self.last_pass: # If there are passes left, defer this node until next pass, # otherwise try reconstructing the method type from available information. self.defer_node(defn, defn.info) return True elif isinstance(original_node, (FuncDef, OverloadedFuncDef)): original_type = self.function_type(original_node) elif isinstance(original_node, Decorator): original_type = self.function_type(original_node.func) else: assert False, str(base_attr.node) if isinstance(original_node, (FuncDef, OverloadedFuncDef)): original_class_or_static = original_node.is_class or original_node.is_static elif isinstance(original_node, Decorator): fdef = original_node.func original_class_or_static = fdef.is_class or fdef.is_static else: original_class_or_static = False # a variable can't be class or static if isinstance(original_type, AnyType) or isinstance(typ, AnyType): pass elif isinstance(original_type, FunctionLike) and isinstance(typ, FunctionLike): if isinstance( base_attr.node, (FuncDef, OverloadedFuncDef, Decorator) ) and not is_static(base_attr.node): bound = bind_self(original_type, self.scope.active_self_type()) else: bound = original_type original = map_type_from_supertype(bound, defn.info, base) # Check that the types are compatible. # TODO overloaded signatures self.check_override( typ, cast(FunctionLike, original), defn.name(), name, base.name(), original_class_or_static, override_class_or_static, context, ) elif is_equivalent(original_type, typ): # Assume invariance for a non-callable attribute here. Note # that this doesn't affect read-only properties which can have # covariant overrides. # # TODO: Allow covariance for read-only attributes? pass else: self.msg.signature_incompatible_with_supertype( defn.name(), name, base.name(), context ) return False
def check_method_override_for_base_with_name( self, defn: Union[FuncBase, Decorator], name: str, base: TypeInfo ) -> None: base_attr = base.names.get(name) if base_attr: # The name of the method is defined in the base class. # Point errors at the 'def' line (important for backward compatibility # of type ignores). if not isinstance(defn, Decorator): context = defn else: context = defn.func # Construct the type of the overriding method. if isinstance(defn, FuncBase): typ = self.function_type(defn) # type: Type override_class_or_static = defn.is_class or defn.is_static else: assert defn.var.is_ready assert defn.var.type is not None typ = defn.var.type override_class_or_static = defn.func.is_class or defn.func.is_static if isinstance(typ, FunctionLike) and not is_static(context): typ = bind_self(typ, self.scope.active_self_type()) # Map the overridden method type to subtype context so that # it can be checked for compatibility. original_type = base_attr.type original_node = base_attr.node if original_type is None: if isinstance(original_node, FuncBase): original_type = self.function_type(original_node) elif isinstance(original_node, Decorator): original_type = self.function_type(original_node.func) else: assert False, str(base_attr.node) if isinstance(original_node, FuncBase): original_class_or_static = original_node.is_class or original_node.is_static elif isinstance(original_node, Decorator): fdef = original_node.func original_class_or_static = fdef.is_class or fdef.is_static else: original_class_or_static = False # a variable can't be class or static if isinstance(original_type, AnyType) or isinstance(typ, AnyType): pass elif isinstance(original_type, FunctionLike) and isinstance(typ, FunctionLike): if isinstance( base_attr.node, (FuncDef, OverloadedFuncDef, Decorator) ) and not is_static(base_attr.node): bound = bind_self(original_type, self.scope.active_self_type()) else: bound = original_type original = map_type_from_supertype(bound, defn.info, base) # Check that the types are compatible. # TODO overloaded signatures self.check_override( typ, cast(FunctionLike, original), defn.name(), name, base.name(), original_class_or_static, override_class_or_static, context, ) elif is_equivalent(original_type, typ): # Assume invariance for a non-callable attribute here. Note # that this doesn't affect read-only properties which can have # covariant overrides. # # TODO: Allow covariance for read-only attributes? pass else: self.msg.signature_incompatible_with_supertype( defn.name(), name, base.name(), context )
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def refresh_partial( self, node: Union[MypyFile, FuncDef, OverloadedFuncDef], patches: List[Tuple[int, Callable[[], None]]], ) -> None: """Refresh a stale target in fine-grained incremental mode.""" self.patches = patches if isinstance(node, MypyFile): self.refresh_top_level(node) else: self.recurse_into_functions = True self.accept(node) del self.patches
def refresh_partial( self, node: Union[MypyFile, FuncItem, OverloadedFuncDef], patches: List[Tuple[int, Callable[[], None]]], ) -> None: """Refresh a stale target in fine-grained incremental mode.""" self.patches = patches if isinstance(node, MypyFile): self.refresh_top_level(node) else: self.recurse_into_functions = True self.accept(node) del self.patches
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def refresh_partial( self, node: Union[MypyFile, FuncDef, OverloadedFuncDef], patches: List[Tuple[int, Callable[[], None]]], ) -> None: """Refresh a stale target in fine-grained incremental mode.""" self.options = self.sem.options self.patches = patches if isinstance(node, MypyFile): self.recurse_into_functions = False self.refresh_top_level(node) else: self.recurse_into_functions = True self.accept(node) self.patches = []
def refresh_partial( self, node: Union[MypyFile, FuncItem, OverloadedFuncDef], patches: List[Tuple[int, Callable[[], None]]], ) -> None: """Refresh a stale target in fine-grained incremental mode.""" self.options = self.sem.options self.patches = patches if isinstance(node, MypyFile): self.recurse_into_functions = False self.refresh_top_level(node) else: self.recurse_into_functions = True self.accept(node) self.patches = []
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def strip_target(node: Union[MypyFile, FuncDef, OverloadedFuncDef]) -> None: """Reset a fine-grained incremental target to state after semantic analysis pass 1. NOTE: Currently we opportunistically only reset changes that are known to otherwise cause trouble. """ visitor = NodeStripVisitor() if isinstance(node, MypyFile): visitor.strip_file_top_level(node) else: node.accept(visitor)
def strip_target(node: Union[MypyFile, FuncItem, OverloadedFuncDef]) -> None: """Reset a fine-grained incremental target to state after semantic analysis pass 1. NOTE: Currently we opportunistically only reset changes that are known to otherwise cause trouble. """ visitor = NodeStripVisitor() if isinstance(node, MypyFile): visitor.strip_file_top_level(node) else: node.accept(visitor)
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def find_targets_recursive( manager: BuildManager, graph: Graph, triggers: Set[str], deps: Dict[str, Set[str]], up_to_date_modules: Set[str], ) -> Tuple[Dict[str, Set[FineGrainedDeferredNode]], Set[str], Set[TypeInfo]]: """Find names of all targets that need to reprocessed, given some triggers. Returns: A tuple containing a: * Dictionary from module id to a set of stale targets. * A set of module ids for unparsed modules with stale targets. """ result = {} # type: Dict[str, Set[FineGrainedDeferredNode]] worklist = triggers processed = set() # type: Set[str] stale_protos = set() # type: Set[TypeInfo] unloaded_files = set() # type: Set[str] # Find AST nodes corresponding to each target. # # TODO: Don't rely on a set, since the items are in an unpredictable order. while worklist: processed |= worklist current = worklist worklist = set() for target in current: if target.startswith("<"): worklist |= deps.get(target, set()) - processed else: module_id = module_prefix(graph, target) if module_id is None: # Deleted module. continue if module_id in up_to_date_modules: # Already processed. continue if ( module_id not in manager.modules or manager.modules[module_id].is_cache_skeleton ): # We haven't actually parsed and checked the module, so we don't have # access to the actual nodes. # Add it to the queue of files that need to be processed fully. unloaded_files.add(module_id) continue if module_id not in result: result[module_id] = set() manager.log_fine_grained("process: %s" % target) deferred, stale_proto = lookup_target(manager, target) if stale_proto: stale_protos.add(stale_proto) result[module_id].update(deferred) return result, unloaded_files, stale_protos
def find_targets_recursive( manager: BuildManager, graph: Graph, triggers: Set[str], deps: Dict[str, Set[str]], up_to_date_modules: Set[str], ) -> Tuple[Dict[str, Set[DeferredNode]], Set[str], Set[TypeInfo]]: """Find names of all targets that need to reprocessed, given some triggers. Returns: A tuple containing a: * Dictionary from module id to a set of stale targets. * A set of module ids for unparsed modules with stale targets. """ result = {} # type: Dict[str, Set[DeferredNode]] worklist = triggers processed = set() # type: Set[str] stale_protos = set() # type: Set[TypeInfo] unloaded_files = set() # type: Set[str] # Find AST nodes corresponding to each target. # # TODO: Don't rely on a set, since the items are in an unpredictable order. while worklist: processed |= worklist current = worklist worklist = set() for target in current: if target.startswith("<"): worklist |= deps.get(target, set()) - processed else: module_id = module_prefix(graph, target) if module_id is None: # Deleted module. continue if module_id in up_to_date_modules: # Already processed. continue if ( module_id not in manager.modules or manager.modules[module_id].is_cache_skeleton ): # We haven't actually parsed and checked the module, so we don't have # access to the actual nodes. # Add it to the queue of files that need to be processed fully. unloaded_files.add(module_id) continue if module_id not in result: result[module_id] = set() manager.log_fine_grained("process: %s" % target) deferred, stale_proto = lookup_target(manager, target) if stale_proto: stale_protos.add(stale_proto) result[module_id].update(deferred) return result, unloaded_files, stale_protos
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def reprocess_nodes( manager: BuildManager, graph: Dict[str, State], module_id: str, nodeset: Set[FineGrainedDeferredNode], deps: Dict[str, Set[str]], ) -> Set[str]: """Reprocess a set of nodes within a single module. Return fired triggers. """ if module_id not in graph: manager.log_fine_grained( "%s not in graph (blocking errors or deleted?)" % module_id ) return set() file_node = manager.modules[module_id] old_symbols = find_symbol_tables_recursive(file_node.fullname(), file_node.names) old_symbols = {name: names.copy() for name, names in old_symbols.items()} old_symbols_snapshot = snapshot_symbol_table(file_node.fullname(), file_node.names) def key(node: FineGrainedDeferredNode) -> int: # Unlike modules which are sorted by name within SCC, # nodes within the same module are sorted by line number, because # this is how they are processed in normal mode. return node.node.line nodes = sorted(nodeset, key=key) options = graph[module_id].options manager.errors.set_file_ignored_lines( file_node.path, file_node.ignored_lines, options.ignore_errors ) targets = set() for node in nodes: target = target_from_node(module_id, node.node) if target is not None: targets.add(target) manager.errors.clear_errors_in_targets(file_node.path, targets) # Strip semantic analysis information. for deferred in nodes: strip_target(deferred.node) semantic_analyzer = manager.semantic_analyzer patches = [] # type: List[Tuple[int, Callable[[], None]]] # Second pass of semantic analysis. We don't redo the first pass, because it only # does local things that won't go stale. for deferred in nodes: with semantic_analyzer.file_context( file_node=file_node, fnam=file_node.path, options=options, active_type=deferred.active_typeinfo, ): manager.semantic_analyzer.refresh_partial(deferred.node, patches) # Third pass of semantic analysis. for deferred in nodes: with semantic_analyzer.file_context( file_node=file_node, fnam=file_node.path, options=options, active_type=deferred.active_typeinfo, scope=manager.semantic_analyzer_pass3.scope, ): manager.semantic_analyzer_pass3.refresh_partial(deferred.node, patches) with semantic_analyzer.file_context( file_node=file_node, fnam=file_node.path, options=options, active_type=None ): apply_semantic_analyzer_patches(patches) # Merge symbol tables to preserve identities of AST nodes. The file node will remain # the same, but other nodes may have been recreated with different identities, such as # NamedTuples defined using assignment statements. new_symbols = find_symbol_tables_recursive(file_node.fullname(), file_node.names) for name in old_symbols: if name in new_symbols: merge_asts(file_node, old_symbols[name], file_node, new_symbols[name]) # Type check. checker = graph[module_id].type_checker() checker.reset() # We seem to need additional passes in fine-grained incremental mode. checker.pass_num = 0 checker.last_pass = 3 more = checker.check_second_pass(nodes) while more: more = False if graph[module_id].type_checker().check_second_pass(): more = True new_symbols_snapshot = snapshot_symbol_table(file_node.fullname(), file_node.names) # Check if any attribute types were changed and need to be propagated further. changed = compare_symbol_table_snapshots( file_node.fullname(), old_symbols_snapshot, new_symbols_snapshot ) new_triggered = {make_trigger(name) for name in changed} # Dependencies may have changed. update_deps(module_id, nodes, graph, deps, options) # Report missing imports. graph[module_id].verify_dependencies() return new_triggered
def reprocess_nodes( manager: BuildManager, graph: Dict[str, State], module_id: str, nodeset: Set[DeferredNode], deps: Dict[str, Set[str]], ) -> Set[str]: """Reprocess a set of nodes within a single module. Return fired triggers. """ if module_id not in graph: manager.log_fine_grained( "%s not in graph (blocking errors or deleted?)" % module_id ) return set() file_node = manager.modules[module_id] old_symbols = find_symbol_tables_recursive(file_node.fullname(), file_node.names) old_symbols = {name: names.copy() for name, names in old_symbols.items()} old_symbols_snapshot = snapshot_symbol_table(file_node.fullname(), file_node.names) def key(node: DeferredNode) -> int: # Unlike modules which are sorted by name within SCC, # nodes within the same module are sorted by line number, because # this is how they are processed in normal mode. return node.node.line nodes = sorted(nodeset, key=key) options = graph[module_id].options manager.errors.set_file_ignored_lines( file_node.path, file_node.ignored_lines, options.ignore_errors ) targets = set() for node in nodes: target = target_from_node(module_id, node.node) if target is not None: targets.add(target) manager.errors.clear_errors_in_targets(file_node.path, targets) # Strip semantic analysis information. for deferred in nodes: strip_target(deferred.node) semantic_analyzer = manager.semantic_analyzer patches = [] # type: List[Tuple[int, Callable[[], None]]] # Second pass of semantic analysis. We don't redo the first pass, because it only # does local things that won't go stale. for deferred in nodes: with semantic_analyzer.file_context( file_node=file_node, fnam=file_node.path, options=options, active_type=deferred.active_typeinfo, ): manager.semantic_analyzer.refresh_partial(deferred.node, patches) # Third pass of semantic analysis. for deferred in nodes: with semantic_analyzer.file_context( file_node=file_node, fnam=file_node.path, options=options, active_type=deferred.active_typeinfo, scope=manager.semantic_analyzer_pass3.scope, ): manager.semantic_analyzer_pass3.refresh_partial(deferred.node, patches) with semantic_analyzer.file_context( file_node=file_node, fnam=file_node.path, options=options, active_type=None ): apply_semantic_analyzer_patches(patches) # Merge symbol tables to preserve identities of AST nodes. The file node will remain # the same, but other nodes may have been recreated with different identities, such as # NamedTuples defined using assignment statements. new_symbols = find_symbol_tables_recursive(file_node.fullname(), file_node.names) for name in old_symbols: if name in new_symbols: merge_asts(file_node, old_symbols[name], file_node, new_symbols[name]) # Type check. checker = graph[module_id].type_checker() checker.reset() # We seem to need additional passes in fine-grained incremental mode. checker.pass_num = 0 checker.last_pass = 3 more = checker.check_second_pass(nodes) while more: more = False if graph[module_id].type_checker().check_second_pass(): more = True new_symbols_snapshot = snapshot_symbol_table(file_node.fullname(), file_node.names) # Check if any attribute types were changed and need to be propagated further. changed = compare_symbol_table_snapshots( file_node.fullname(), old_symbols_snapshot, new_symbols_snapshot ) new_triggered = {make_trigger(name) for name in changed} # Dependencies may have changed. update_deps(module_id, nodes, graph, deps, options) # Report missing imports. graph[module_id].verify_dependencies() return new_triggered
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def key(node: FineGrainedDeferredNode) -> int: # Unlike modules which are sorted by name within SCC, # nodes within the same module are sorted by line number, because # this is how they are processed in normal mode. return node.node.line
def key(node: DeferredNode) -> int: # Unlike modules which are sorted by name within SCC, # nodes within the same module are sorted by line number, because # this is how they are processed in normal mode. return node.node.line
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def update_deps( module_id: str, nodes: List[FineGrainedDeferredNode], graph: Dict[str, State], deps: Dict[str, Set[str]], options: Options, ) -> None: for deferred in nodes: node = deferred.node type_map = graph[module_id].type_map() tree = graph[module_id].tree assert tree is not None, "Tree must be processed at this stage" new_deps = get_dependencies_of_target( module_id, tree, node, type_map, options.python_version ) for trigger, targets in new_deps.items(): deps.setdefault(trigger, set()).update(targets) # Merge also the newly added protocol deps (if any). TypeState.update_protocol_deps(deps)
def update_deps( module_id: str, nodes: List[DeferredNode], graph: Dict[str, State], deps: Dict[str, Set[str]], options: Options, ) -> None: for deferred in nodes: node = deferred.node type_map = graph[module_id].type_map() tree = graph[module_id].tree assert tree is not None, "Tree must be processed at this stage" new_deps = get_dependencies_of_target( module_id, tree, node, type_map, options.python_version ) for trigger, targets in new_deps.items(): deps.setdefault(trigger, set()).update(targets) # Merge also the newly added protocol deps (if any). TypeState.update_protocol_deps(deps)
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def lookup_target( manager: BuildManager, target: str ) -> Tuple[List[FineGrainedDeferredNode], Optional[TypeInfo]]: """Look up a target by fully-qualified name. The first item in the return tuple is a list of deferred nodes that needs to be reprocessed. If the target represents a TypeInfo corresponding to a protocol, return it as a second item in the return tuple, otherwise None. """ def not_found() -> None: manager.log_fine_grained( "Can't find matching target for %s (stale dependency?)" % target ) modules = manager.modules items = split_target(modules, target) if items is None: not_found() # Stale dependency return [], None module, rest = items if rest: components = rest.split(".") else: components = [] node = modules[module] # type: Optional[SymbolNode] file = None # type: Optional[MypyFile] active_class = None active_class_name = None for c in components: if isinstance(node, TypeInfo): active_class = node active_class_name = node.name() if isinstance(node, MypyFile): file = node if not isinstance(node, (MypyFile, TypeInfo)) or c not in node.names: not_found() # Stale dependency return [], None node = node.names[c].node if isinstance(node, TypeInfo): # A ClassDef target covers the body of the class and everything defined # within it. To get the body we include the entire surrounding target, # typically a module top-level, since we don't support processing class # bodies as separate entitites for simplicity. assert file is not None if node.fullname() != target: # This is a reference to a different TypeInfo, likely due to a stale dependency. # Processing them would spell trouble -- for example, we could be refreshing # a deserialized TypeInfo with missing attributes. not_found() return [], None result = [FineGrainedDeferredNode(file, None, None)] stale_info = None # type: Optional[TypeInfo] if node.is_protocol: stale_info = node for name, symnode in node.names.items(): node = symnode.node if isinstance(node, FuncDef): method, _ = lookup_target(manager, target + "." + name) result.extend(method) return result, stale_info if isinstance(node, Decorator): # Decorator targets actually refer to the function definition only. node = node.func if not isinstance(node, (FuncDef, MypyFile, OverloadedFuncDef)): # The target can't be refreshed. It's possible that the target was # changed to another type and we have a stale dependency pointing to it. not_found() return [], None if node.fullname() != target: # Stale reference points to something unexpected. We shouldn't process since the # context will be wrong and it could be a partially initialized deserialized node. not_found() return [], None return [FineGrainedDeferredNode(node, active_class_name, active_class)], None
def lookup_target( manager: BuildManager, target: str ) -> Tuple[List[DeferredNode], Optional[TypeInfo]]: """Look up a target by fully-qualified name. The first item in the return tuple is a list of deferred nodes that needs to be reprocessed. If the target represents a TypeInfo corresponding to a protocol, return it as a second item in the return tuple, otherwise None. """ def not_found() -> None: manager.log_fine_grained( "Can't find matching target for %s (stale dependency?)" % target ) modules = manager.modules items = split_target(modules, target) if items is None: not_found() # Stale dependency return [], None module, rest = items if rest: components = rest.split(".") else: components = [] node = modules[module] # type: Optional[SymbolNode] file = None # type: Optional[MypyFile] active_class = None active_class_name = None for c in components: if isinstance(node, TypeInfo): active_class = node active_class_name = node.name() if isinstance(node, MypyFile): file = node if not isinstance(node, (MypyFile, TypeInfo)) or c not in node.names: not_found() # Stale dependency return [], None node = node.names[c].node if isinstance(node, TypeInfo): # A ClassDef target covers the body of the class and everything defined # within it. To get the body we include the entire surrounding target, # typically a module top-level, since we don't support processing class # bodies as separate entitites for simplicity. assert file is not None if node.fullname() != target: # This is a reference to a different TypeInfo, likely due to a stale dependency. # Processing them would spell trouble -- for example, we could be refreshing # a deserialized TypeInfo with missing attributes. not_found() return [], None result = [DeferredNode(file, None, None)] stale_info = None # type: Optional[TypeInfo] if node.is_protocol: stale_info = node for name, symnode in node.names.items(): node = symnode.node if isinstance(node, FuncDef): method, _ = lookup_target(manager, target + "." + name) result.extend(method) return result, stale_info if isinstance(node, Decorator): # Decorator targets actually refer to the function definition only. node = node.func if not isinstance(node, (FuncDef, MypyFile, OverloadedFuncDef)): # The target can't be refreshed. It's possible that the target was # changed to another type and we have a stale dependency pointing to it. not_found() return [], None if node.fullname() != target: # Stale reference points to something unexpected. We shouldn't process since the # context will be wrong and it could be a partially initialized deserialized node. not_found() return [], None return [DeferredNode(node, active_class_name, active_class)], None
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def target_from_node( module: str, node: Union[FuncDef, MypyFile, OverloadedFuncDef] ) -> Optional[str]: """Return the target name corresponding to a deferred node. Args: module: Must be module id of the module that defines 'node' Returns the target name, or None if the node is not a valid target in the given module (for example, if it's actually defined in another module). """ if isinstance(node, MypyFile): if module != node.fullname(): # Actually a reference to another module -- likely a stale dependency. return None return module else: # OverloadedFuncDef or FuncDef if node.info: return "%s.%s" % (node.info.fullname(), node.name()) else: return "%s.%s" % (module, node.name())
def target_from_node( module: str, node: Union[FuncDef, MypyFile, OverloadedFuncDef, LambdaExpr] ) -> Optional[str]: """Return the target name corresponding to a deferred node. Args: module: Must be module id of the module that defines 'node' Returns the target name, or None if the node is not a valid target in the given module (for example, if it's actually defined in another module). """ if isinstance(node, MypyFile): if module != node.fullname(): # Actually a reference to another module -- likely a stale dependency. return None return module elif isinstance(node, (OverloadedFuncDef, FuncDef)): if node.info: return "%s.%s" % (node.info.fullname(), node.name()) else: return "%s.%s" % (module, node.name()) else: assert False, ( "Lambda expressions can't be deferred in fine-grained incremental mode" )
https://github.com/python/mypy/issues/5560
pymc3/model.py:672: error: Decorated property not supported pymc3/variational/opvi.py:1556: error: Decorated property not supported pymc3/variational/flows.py:193: error: Decorated property not supported pymc3/__init__.py:25: error: Name 'utils' already defined (by an import) pymc3/data.py:226: error: Need type annotation for 'RNG' Traceback (most recent call last): File "/Users/rpg/Library/Python/3.7/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2853, in process_graph process_stale_scc(graph, scc, manager) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2976, in process_stale_scc graph[id].type_check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/build.py", line 2151, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 253, in check_first_pass self.accept(d) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 808, in accept return visitor.visit_class_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1368, in visit_class_def self.accept(defn.defs) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 873, in accept return visitor.visit_block(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1514, in visit_block self.accept(s) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 352, in accept stmt.accept(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/nodes.py", line 443, in accept return visitor.visit_overloaded_func_def(self) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 385, in visit_overloaded_func_def self._visit_overloaded_func_def(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 409, in _visit_overloaded_func_def self.check_method_override(defn) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1198, in check_method_override self.check_method_or_accessor_override_for_base(defn, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1208, in check_method_or_accessor_override_for_base self.check_method_override_for_base_with_name(defn, name, base) File "/Users/rpg/Library/Python/3.7/lib/python/site-packages/mypy/checker.py", line 1252, in check_method_override_for_base_with_name assert False, str(base_attr.node) AssertionError: Var(sampler_vars)
AssertionError
def visit_class_def(self, tdef: ClassDef) -> None: # NamedTuple base classes are validated in check_namedtuple_classdef; we don't have to # check them again here. self.scope.enter_class(tdef.info) if not tdef.info.is_named_tuple: types = list(tdef.info.bases) # type: List[Type] for tvar in tdef.type_vars: if tvar.upper_bound: types.append(tvar.upper_bound) if tvar.values: types.extend(tvar.values) if tdef.info.tuple_type: types.append(tdef.info.tuple_type) self.analyze_types(types, tdef.info) for type in tdef.info.bases: if tdef.info.is_protocol: if not isinstance(type, Instance) or not type.type.is_protocol: if type.type.fullname() != "builtins.object": self.fail("All bases of a protocol must be protocols", tdef) # Recompute MRO now that we have analyzed all modules, to pick # up superclasses of bases imported from other modules in an # import loop. (Only do so if we succeeded the first time.) if tdef.info.mro: tdef.info.mro = [] # Force recomputation self.sem.calculate_class_mro(tdef) if tdef.analyzed is not None: # Also check synthetic types associated with this ClassDef. # Currently these are TypedDict, and NamedTuple. if isinstance(tdef.analyzed, TypedDictExpr): self.analyze(tdef.analyzed.info.typeddict_type, tdef.analyzed, warn=True) elif isinstance(tdef.analyzed, NamedTupleExpr): self.analyze(tdef.analyzed.info.tuple_type, tdef.analyzed, warn=True) self.analyze_info(tdef.analyzed.info) super().visit_class_def(tdef) self.analyze_symbol_table(tdef.info.names) self.scope.leave()
def visit_class_def(self, tdef: ClassDef) -> None: # NamedTuple base classes are validated in check_namedtuple_classdef; we don't have to # check them again here. self.scope.enter_class(tdef.info) if not tdef.info.is_named_tuple: types = list(tdef.info.bases) # type: List[Type] for tvar in tdef.type_vars: if tvar.upper_bound: types.append(tvar.upper_bound) if tvar.values: types.extend(tvar.values) self.analyze_types(types, tdef.info) for type in tdef.info.bases: if tdef.info.is_protocol: if not isinstance(type, Instance) or not type.type.is_protocol: if type.type.fullname() != "builtins.object": self.fail("All bases of a protocol must be protocols", tdef) # Recompute MRO now that we have analyzed all modules, to pick # up superclasses of bases imported from other modules in an # import loop. (Only do so if we succeeded the first time.) if tdef.info.mro: tdef.info.mro = [] # Force recomputation self.sem.calculate_class_mro(tdef) if tdef.analyzed is not None: # Also check synthetic types associated with this ClassDef. # Currently these are TypedDict, and NamedTuple. if isinstance(tdef.analyzed, TypedDictExpr): self.analyze(tdef.analyzed.info.typeddict_type, tdef.analyzed, warn=True) elif isinstance(tdef.analyzed, NamedTupleExpr): self.analyze(tdef.analyzed.info.tuple_type, tdef.analyzed, warn=True) self.analyze_info(tdef.analyzed.info) super().visit_class_def(tdef) self.analyze_symbol_table(tdef.info.names) self.scope.leave()
https://github.com/python/mypy/issues/5195
typetest.py:5: error: Recursive types not fully supported yet, nested types replaced with "Any" typetest.py: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610 Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/jo/.local/lib/python3.6/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/home/jo/.local/lib/python3.6/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/home/jo/.local/lib/python3.6/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 185, in build flush_errors, fscache) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 285, in _build graph = dispatch(sources, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2398, in dispatch process_graph(graph, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2691, in process_graph process_stale_scc(graph, scc, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2820, in process_stale_scc graph[id].finish_passes() File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2067, in finish_passes manager.report_file(self.tree, self.type_map(), self.options) File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 1818, in wrap_context yield File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2062, in finish_passes self._patch_indirect_dependencies(self.type_checker().module_refs, self.type_map()) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2076, in _patch_indirect_dependencies encountered = self.manager.indirection_detector.find_modules(types) | module_refs File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 29, in find_modules return self._visit(*typs) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 1042, in accept return visitor.visit_tuple_type(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 91, in visit_tuple_type return self._visit(*t.items) | self._visit(t.fallback) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 512, in accept return visitor.visit_instance(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 70, in visit_instance out = self._visit(*t.args) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 512, in accept return visitor.visit_instance(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 75, in visit_instance for s in t.type.mro: TypeError: 'NoneType' object is not iterable typetest.py: : note: use --pdb to drop into pdb
TypeError
def perform_transform(self, node: Node, transform: Callable[[Type], Type]) -> None: """Apply transform to all types associated with node.""" if isinstance(node, ForStmt): if node.index_type: node.index_type = transform(node.index_type) self.transform_types_in_lvalue(node.index, transform) if isinstance(node, WithStmt): if node.target_type: node.target_type = transform(node.target_type) for n in node.target: if isinstance(n, NameExpr) and isinstance(n.node, Var) and n.node.type: n.node.type = transform(n.node.type) if isinstance( node, (FuncDef, OverloadedFuncDef, CastExpr, AssignmentStmt, TypeAliasExpr, Var) ): assert node.type, "Scheduled patch for non-existent type" node.type = transform(node.type) if isinstance(node, TypeAlias): node.target = transform(node.target) if isinstance(node, NewTypeExpr): assert node.old_type, "Scheduled patch for non-existent type" node.old_type = transform(node.old_type) if node.info: new_bases = [] # type: List[Instance] for b in node.info.bases: new_b = transform(b) # TODO: this code can be combined with code in second pass. if isinstance(new_b, Instance): new_bases.append(new_b) elif isinstance(new_b, TupleType): new_bases.append(new_b.fallback) else: self.fail( "Argument 2 to NewType(...) must be subclassable" " (got {})".format(new_b), node, ) new_bases.append(self.builtin_type("object")) node.info.bases = new_bases if isinstance(node, TypeVarExpr): if node.upper_bound: node.upper_bound = transform(node.upper_bound) if node.values: node.values = [transform(v) for v in node.values] if isinstance(node, TypedDictExpr): assert node.info.typeddict_type, "Scheduled patch for non-existent type" node.info.typeddict_type = cast( TypedDictType, transform(node.info.typeddict_type) ) if isinstance(node, NamedTupleExpr): assert node.info.tuple_type, "Scheduled patch for non-existent type" node.info.tuple_type = cast(TupleType, transform(node.info.tuple_type)) if isinstance(node, TypeApplication): node.types = [transform(t) for t in node.types] if isinstance(node, TypeInfo): for tvar in node.defn.type_vars: if tvar.upper_bound: tvar.upper_bound = transform(tvar.upper_bound) if tvar.values: tvar.values = [transform(v) for v in tvar.values] new_bases = [] for base in node.bases: new_base = transform(base) if isinstance(new_base, Instance): new_bases.append(new_base) else: # Don't fix the NamedTuple bases, they are Instance's intentionally. # Patch the 'args' just in case, although generic tuple types are # not supported yet. alt_base = Instance(base.type, [transform(a) for a in base.args]) new_bases.append(alt_base) node.bases = new_bases if node.tuple_type: new_tuple_type = transform(node.tuple_type) assert isinstance(new_tuple_type, TupleType) node.tuple_type = new_tuple_type
def perform_transform(self, node: Node, transform: Callable[[Type], Type]) -> None: """Apply transform to all types associated with node.""" if isinstance(node, ForStmt): if node.index_type: node.index_type = transform(node.index_type) self.transform_types_in_lvalue(node.index, transform) if isinstance(node, WithStmt): if node.target_type: node.target_type = transform(node.target_type) for n in node.target: if isinstance(n, NameExpr) and isinstance(n.node, Var) and n.node.type: n.node.type = transform(n.node.type) if isinstance( node, (FuncDef, OverloadedFuncDef, CastExpr, AssignmentStmt, TypeAliasExpr, Var) ): assert node.type, "Scheduled patch for non-existent type" node.type = transform(node.type) if isinstance(node, TypeAlias): node.target = transform(node.target) if isinstance(node, NewTypeExpr): assert node.old_type, "Scheduled patch for non-existent type" node.old_type = transform(node.old_type) if node.info: new_bases = [] # type: List[Instance] for b in node.info.bases: new_b = transform(b) # TODO: this code can be combined with code in second pass. if isinstance(new_b, Instance): new_bases.append(new_b) elif isinstance(new_b, TupleType): new_bases.append(new_b.fallback) else: self.fail( "Argument 2 to NewType(...) must be subclassable" " (got {})".format(new_b), node, ) new_bases.append(self.builtin_type("object")) node.info.bases = new_bases if isinstance(node, TypeVarExpr): if node.upper_bound: node.upper_bound = transform(node.upper_bound) if node.values: node.values = [transform(v) for v in node.values] if isinstance(node, TypedDictExpr): assert node.info.typeddict_type, "Scheduled patch for non-existent type" node.info.typeddict_type = cast( TypedDictType, transform(node.info.typeddict_type) ) if isinstance(node, NamedTupleExpr): assert node.info.tuple_type, "Scheduled patch for non-existent type" node.info.tuple_type = cast(TupleType, transform(node.info.tuple_type)) if isinstance(node, TypeApplication): node.types = [transform(t) for t in node.types] if isinstance(node, TypeInfo): for tvar in node.defn.type_vars: if tvar.upper_bound: tvar.upper_bound = transform(tvar.upper_bound) if tvar.values: tvar.values = [transform(v) for v in tvar.values] new_bases = [] for base in node.bases: new_base = transform(base) if isinstance(new_base, Instance): new_bases.append(new_base) else: # Don't fix the NamedTuple bases, they are Instance's intentionally. # Patch the 'args' just in case, although generic tuple types are # not supported yet. alt_base = Instance(base.type, [transform(a) for a in base.args]) new_bases.append(alt_base) node.bases = new_bases
https://github.com/python/mypy/issues/5195
typetest.py:5: error: Recursive types not fully supported yet, nested types replaced with "Any" typetest.py: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610 Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/jo/.local/lib/python3.6/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/home/jo/.local/lib/python3.6/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/home/jo/.local/lib/python3.6/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 185, in build flush_errors, fscache) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 285, in _build graph = dispatch(sources, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2398, in dispatch process_graph(graph, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2691, in process_graph process_stale_scc(graph, scc, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2820, in process_stale_scc graph[id].finish_passes() File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2067, in finish_passes manager.report_file(self.tree, self.type_map(), self.options) File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 1818, in wrap_context yield File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2062, in finish_passes self._patch_indirect_dependencies(self.type_checker().module_refs, self.type_map()) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2076, in _patch_indirect_dependencies encountered = self.manager.indirection_detector.find_modules(types) | module_refs File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 29, in find_modules return self._visit(*typs) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 1042, in accept return visitor.visit_tuple_type(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 91, in visit_tuple_type return self._visit(*t.items) | self._visit(t.fallback) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 512, in accept return visitor.visit_instance(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 70, in visit_instance out = self._visit(*t.args) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 512, in accept return visitor.visit_instance(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 75, in visit_instance for s in t.type.mro: TypeError: 'NoneType' object is not iterable typetest.py: : note: use --pdb to drop into pdb
TypeError
def visit_instance(self, t: Instance, from_fallback: bool = False) -> Type: """This visitor method tracks situations like this: x: A # When analyzing this type we will get an Instance from SemanticAnalyzerPass1. # Now we need to update this to actual analyzed TupleType. class A(NamedTuple): attr: str If from_fallback is True, then we always return an Instance type. This is needed since TupleType and TypedDictType fallbacks are always instances. """ info = t.type # Special case, analyzed bases transformed the type into TupleType. if info.tuple_type and not from_fallback: items = [it.accept(self) for it in info.tuple_type.items] info.tuple_type.items = items return TupleType(items, Instance(info, [])) # Update forward Instances to corresponding analyzed NamedTuples. if info.replaced and info.replaced.tuple_type: tp = info.replaced.tuple_type if self.check_recursion(tp): # The key idea is that when we recursively return to a type already traversed, # then we break the cycle and put AnyType as a leaf. return AnyType(TypeOfAny.from_error) return tp.copy_modified( fallback=Instance(info.replaced, [], line=t.line) ).accept(self) # Same as above but for TypedDicts. if info.replaced and info.replaced.typeddict_type: td = info.replaced.typeddict_type if self.check_recursion(td): # We also break the cycles for TypedDicts as explained above for NamedTuples. return AnyType(TypeOfAny.from_error) return td.copy_modified( fallback=Instance(info.replaced, [], line=t.line) ).accept(self) if self.check_recursion(t): # We also need to break a potential cycle with normal (non-synthetic) instance types. return Instance( t.type, [AnyType(TypeOfAny.from_error)] * len(t.type.defn.type_vars), line=t.line, ) return super().visit_instance(t)
def visit_instance(self, t: Instance, from_fallback: bool = False) -> Type: """This visitor method tracks situations like this: x: A # When analyzing this type we will get an Instance from SemanticAnalyzerPass1. # Now we need to update this to actual analyzed TupleType. class A(NamedTuple): attr: str If from_fallback is True, then we always return an Instance type. This is needed since TupleType and TypedDictType fallbacks are always instances. """ info = t.type # Special case, analyzed bases transformed the type into TupleType. if info.tuple_type and not from_fallback: items = [it.accept(self) for it in info.tuple_type.items] info.tuple_type.items = items return TupleType(items, Instance(info, [])) # Update forward Instances to corresponding analyzed NamedTuples. if info.replaced and info.replaced.tuple_type: tp = info.replaced.tuple_type if self.check_recursion(tp): # The key idea is that when we recursively return to a type already traversed, # then we break the cycle and put AnyType as a leaf. return AnyType(TypeOfAny.from_error) return tp.copy_modified(fallback=Instance(info.replaced, [])).accept(self) # Same as above but for TypedDicts. if info.replaced and info.replaced.typeddict_type: td = info.replaced.typeddict_type if self.check_recursion(td): # We also break the cycles for TypedDicts as explained above for NamedTuples. return AnyType(TypeOfAny.from_error) return td.copy_modified(fallback=Instance(info.replaced, [])).accept(self) if self.check_recursion(t): # We also need to break a potential cycle with normal (non-synthetic) instance types. return Instance( t.type, [AnyType(TypeOfAny.from_error)] * len(t.type.defn.type_vars) ) return super().visit_instance(t)
https://github.com/python/mypy/issues/5195
typetest.py:5: error: Recursive types not fully supported yet, nested types replaced with "Any" typetest.py: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610 Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/jo/.local/lib/python3.6/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/home/jo/.local/lib/python3.6/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/home/jo/.local/lib/python3.6/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 185, in build flush_errors, fscache) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 285, in _build graph = dispatch(sources, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2398, in dispatch process_graph(graph, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2691, in process_graph process_stale_scc(graph, scc, manager) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2820, in process_stale_scc graph[id].finish_passes() File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2067, in finish_passes manager.report_file(self.tree, self.type_map(), self.options) File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 1818, in wrap_context yield File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2062, in finish_passes self._patch_indirect_dependencies(self.type_checker().module_refs, self.type_map()) File "/home/jo/.local/lib/python3.6/site-packages/mypy/build.py", line 2076, in _patch_indirect_dependencies encountered = self.manager.indirection_detector.find_modules(types) | module_refs File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 29, in find_modules return self._visit(*typs) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 1042, in accept return visitor.visit_tuple_type(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 91, in visit_tuple_type return self._visit(*t.items) | self._visit(t.fallback) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 512, in accept return visitor.visit_instance(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 70, in visit_instance out = self._visit(*t.args) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 37, in _visit modules = typ.accept(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/types.py", line 512, in accept return visitor.visit_instance(self) File "/home/jo/.local/lib/python3.6/site-packages/mypy/indirection.py", line 75, in visit_instance for s in t.type.mro: TypeError: 'NoneType' object is not iterable typetest.py: : note: use --pdb to drop into pdb
TypeError
def infer_lambda_type_using_context( self, e: LambdaExpr ) -> Tuple[Optional[CallableType], Optional[CallableType]]: """Try to infer lambda expression type using context. Return None if could not infer type. The second item in the return type is the type_override parameter for check_func_item. """ # TODO also accept 'Any' context ctx = self.type_context[-1] if isinstance(ctx, UnionType): callables = [t for t in ctx.relevant_items() if isinstance(t, CallableType)] if len(callables) == 1: ctx = callables[0] if not ctx or not isinstance(ctx, CallableType): return None, None # The context may have function type variables in it. We replace them # since these are the type variables we are ultimately trying to infer; # they must be considered as indeterminate. We use ErasedType since it # does not affect type inference results (it is for purposes like this # only). callable_ctx = replace_meta_vars(ctx, ErasedType()) assert isinstance(callable_ctx, CallableType) arg_kinds = [arg.kind for arg in e.arguments] if callable_ctx.is_ellipsis_args: # Fill in Any arguments to match the arguments of the lambda. callable_ctx = callable_ctx.copy_modified( is_ellipsis_args=False, arg_types=[AnyType(TypeOfAny.special_form)] * len(arg_kinds), arg_kinds=arg_kinds, arg_names=[None] * len(arg_kinds), ) if ARG_STAR in arg_kinds or ARG_STAR2 in arg_kinds: # TODO treat this case appropriately return callable_ctx, None if callable_ctx.arg_kinds != arg_kinds: # Incompatible context; cannot use it to infer types. self.chk.fail(messages.CANNOT_INFER_LAMBDA_TYPE, e) return None, None return callable_ctx, callable_ctx
def infer_lambda_type_using_context( self, e: LambdaExpr ) -> Tuple[Optional[CallableType], Optional[CallableType]]: """Try to infer lambda expression type using context. Return None if could not infer type. The second item in the return type is the type_override parameter for check_func_item. """ # TODO also accept 'Any' context ctx = self.type_context[-1] if isinstance(ctx, UnionType): callables = [t for t in ctx.relevant_items() if isinstance(t, CallableType)] if len(callables) == 1: ctx = callables[0] if not ctx or not isinstance(ctx, CallableType): return None, None # The context may have function type variables in it. We replace them # since these are the type variables we are ultimately trying to infer; # they must be considered as indeterminate. We use ErasedType since it # does not affect type inference results (it is for purposes like this # only). callable_ctx = replace_meta_vars(ctx, ErasedType()) assert isinstance(callable_ctx, CallableType) arg_kinds = [arg.kind for arg in e.arguments] if callable_ctx.is_ellipsis_args: # Fill in Any arguments to match the arguments of the lambda. callable_ctx = callable_ctx.copy_modified( is_ellipsis_args=False, arg_types=[AnyType(TypeOfAny.special_form)] * len(arg_kinds), arg_kinds=arg_kinds, ) if ARG_STAR in arg_kinds or ARG_STAR2 in arg_kinds: # TODO treat this case appropriately return callable_ctx, None if callable_ctx.arg_kinds != arg_kinds: # Incompatible context; cannot use it to infer types. self.chk.fail(messages.CANNOT_INFER_LAMBDA_TYPE, e) return None, None return callable_ctx, callable_ctx
https://github.com/python/mypy/issues/4599
Traceback (most recent call last): File "[somewhere]/mypy/main.py", line 80, in main type_check_only(sources, bin_dir, options, flush_errors) File "[somewhere]/mypy/main.py", line 129, in type_check_only flush_errors=flush_errors) File "[somewhere]/mypy/build.py", line 172, in build result = _build(sources, options, alt_lib_path, bin_dir, saved_cache, flush_errors) File "[somewhere]/mypy/build.py", line 258, in _build graph = dispatch(sources, manager) File "[somewhere]/mypy/build.py", line 2048, in dispatch process_graph(graph, manager) File "[somewhere]/mypy/build.py", line 2349, in process_graph process_stale_scc(graph, scc, manager) File "[somewhere]/mypy/build.py", line 2525, in process_stale_scc graph[id].type_check_first_pass() File "[somewhere]/mypy/build.py", line 1923, in type_check_first_pass self.type_checker().check_first_pass() File "[somewhere]/mypy/checker.py", line 228, in check_first_pass self.accept(d) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 701, in accept return visitor.visit_class_def(self) File "[somewhere]/mypy/checker.py", line 1251, in visit_class_def self.accept(defn.defs) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 763, in accept return visitor.visit_block(self) File "[somewhere]/mypy/checker.py", line 1371, in visit_block self.accept(s) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 574, in accept return visitor.visit_decorator(self) File "[somewhere]/mypy/checker.py", line 2537, in visit_decorator self.check_func_item(e.func, name=e.func.name()) File "[somewhere]/mypy/checker.py", line 640, in check_func_item self.check_func_def(defn, typ, name) File "[somewhere]/mypy/checker.py", line 803, in check_func_def self.accept(item.body) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 763, in accept return visitor.visit_block(self) File "[somewhere]/mypy/checker.py", line 1371, in visit_block self.accept(s) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 928, in accept return visitor.visit_if_stmt(self) File "[somewhere]/mypy/checker.py", line 2244, in visit_if_stmt self.accept(s.else_body) File "...lib/python3.5/contextlib.py", line 66, in __exit__ next(self.gen) File "[somewhere]/mypy/binder.py", line 379, in frame_context self.pop_frame(can_skip, fall_through) File "[somewhere]/mypy/binder.py", line 223, in pop_frame self.last_pop_changed = self.update_from_options(options) File "[somewhere]/mypy/binder.py", line 199, in update_from_options type = join_simple(self.declarations[key], type, other) File "[somewhere]/mypy/join.py", line 34, in join_simple if is_proper_subtype(s, t): File "[somewhere]/mypy/subtypes.py", line 835, in is_proper_subtype return left.accept(ProperSubtypeVisitor(right)) File "[somewhere]/mypy/types.py", line 742, in accept return visitor.visit_callable_type(self) File "[somewhere]/mypy/subtypes.py", line 917, in visit_callable_type use_proper_subtype=True) File "[somewhere]/mypy/subtypes.py", line 726, in is_callable_subtype if left_arg.pos is not None File "[somewhere]/mypy/types.py", line 818, in argument_by_position self.arg_kinds[position], IndexError: list index out of range
IndexError
def replace_implicit_first_type(sig: FunctionLike, new: Type) -> FunctionLike: if isinstance(sig, CallableType): if len(sig.arg_types) == 0: return sig return sig.copy_modified(arg_types=[new] + sig.arg_types[1:]) elif isinstance(sig, Overloaded): return Overloaded( [ cast(CallableType, replace_implicit_first_type(i, new)) for i in sig.items() ] ) else: assert False
def replace_implicit_first_type(sig: FunctionLike, new: Type) -> FunctionLike: if isinstance(sig, CallableType): return sig.copy_modified(arg_types=[new] + sig.arg_types[1:]) elif isinstance(sig, Overloaded): return Overloaded( [ cast(CallableType, replace_implicit_first_type(i, new)) for i in sig.items() ] ) else: assert False
https://github.com/python/mypy/issues/4599
Traceback (most recent call last): File "[somewhere]/mypy/main.py", line 80, in main type_check_only(sources, bin_dir, options, flush_errors) File "[somewhere]/mypy/main.py", line 129, in type_check_only flush_errors=flush_errors) File "[somewhere]/mypy/build.py", line 172, in build result = _build(sources, options, alt_lib_path, bin_dir, saved_cache, flush_errors) File "[somewhere]/mypy/build.py", line 258, in _build graph = dispatch(sources, manager) File "[somewhere]/mypy/build.py", line 2048, in dispatch process_graph(graph, manager) File "[somewhere]/mypy/build.py", line 2349, in process_graph process_stale_scc(graph, scc, manager) File "[somewhere]/mypy/build.py", line 2525, in process_stale_scc graph[id].type_check_first_pass() File "[somewhere]/mypy/build.py", line 1923, in type_check_first_pass self.type_checker().check_first_pass() File "[somewhere]/mypy/checker.py", line 228, in check_first_pass self.accept(d) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 701, in accept return visitor.visit_class_def(self) File "[somewhere]/mypy/checker.py", line 1251, in visit_class_def self.accept(defn.defs) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 763, in accept return visitor.visit_block(self) File "[somewhere]/mypy/checker.py", line 1371, in visit_block self.accept(s) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 574, in accept return visitor.visit_decorator(self) File "[somewhere]/mypy/checker.py", line 2537, in visit_decorator self.check_func_item(e.func, name=e.func.name()) File "[somewhere]/mypy/checker.py", line 640, in check_func_item self.check_func_def(defn, typ, name) File "[somewhere]/mypy/checker.py", line 803, in check_func_def self.accept(item.body) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 763, in accept return visitor.visit_block(self) File "[somewhere]/mypy/checker.py", line 1371, in visit_block self.accept(s) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 928, in accept return visitor.visit_if_stmt(self) File "[somewhere]/mypy/checker.py", line 2244, in visit_if_stmt self.accept(s.else_body) File "...lib/python3.5/contextlib.py", line 66, in __exit__ next(self.gen) File "[somewhere]/mypy/binder.py", line 379, in frame_context self.pop_frame(can_skip, fall_through) File "[somewhere]/mypy/binder.py", line 223, in pop_frame self.last_pop_changed = self.update_from_options(options) File "[somewhere]/mypy/binder.py", line 199, in update_from_options type = join_simple(self.declarations[key], type, other) File "[somewhere]/mypy/join.py", line 34, in join_simple if is_proper_subtype(s, t): File "[somewhere]/mypy/subtypes.py", line 835, in is_proper_subtype return left.accept(ProperSubtypeVisitor(right)) File "[somewhere]/mypy/types.py", line 742, in accept return visitor.visit_callable_type(self) File "[somewhere]/mypy/subtypes.py", line 917, in visit_callable_type use_proper_subtype=True) File "[somewhere]/mypy/subtypes.py", line 726, in is_callable_subtype if left_arg.pos is not None File "[somewhere]/mypy/types.py", line 818, in argument_by_position self.arg_kinds[position], IndexError: list index out of range
IndexError
def __init__( self, arg_types: List[Type], arg_kinds: List[int], arg_names: Sequence[Optional[str]], ret_type: Type, fallback: Instance, name: Optional[str] = None, definition: Optional[SymbolNode] = None, variables: Optional[List[TypeVarDef]] = None, line: int = -1, column: int = -1, is_ellipsis_args: bool = False, implicit: bool = False, is_classmethod_class: bool = False, special_sig: Optional[str] = None, from_type_type: bool = False, bound_args: Optional[List[Optional[Type]]] = None, ) -> None: assert len(arg_types) == len(arg_kinds) == len(arg_names) if variables is None: variables = [] assert len(arg_types) == len(arg_kinds) assert not any(tp is None for tp in arg_types), ( "No annotation must be Any, not None" ) self.arg_types = arg_types self.arg_kinds = arg_kinds self.arg_names = list(arg_names) self.min_args = arg_kinds.count(ARG_POS) self.is_var_arg = ARG_STAR in arg_kinds self.is_kw_arg = ARG_STAR2 in arg_kinds self.ret_type = ret_type self.fallback = fallback assert not name or "<bound method" not in name self.name = name self.definition = definition self.variables = variables self.is_ellipsis_args = is_ellipsis_args self.implicit = implicit self.is_classmethod_class = is_classmethod_class self.special_sig = special_sig self.from_type_type = from_type_type self.bound_args = bound_args or [] super().__init__(line, column)
def __init__( self, arg_types: List[Type], arg_kinds: List[int], arg_names: Sequence[Optional[str]], ret_type: Type, fallback: Instance, name: Optional[str] = None, definition: Optional[SymbolNode] = None, variables: Optional[List[TypeVarDef]] = None, line: int = -1, column: int = -1, is_ellipsis_args: bool = False, implicit: bool = False, is_classmethod_class: bool = False, special_sig: Optional[str] = None, from_type_type: bool = False, bound_args: Optional[List[Optional[Type]]] = None, ) -> None: if variables is None: variables = [] assert len(arg_types) == len(arg_kinds) assert not any(tp is None for tp in arg_types), ( "No annotation must be Any, not None" ) self.arg_types = arg_types self.arg_kinds = arg_kinds self.arg_names = list(arg_names) self.min_args = arg_kinds.count(ARG_POS) self.is_var_arg = ARG_STAR in arg_kinds self.is_kw_arg = ARG_STAR2 in arg_kinds self.ret_type = ret_type self.fallback = fallback assert not name or "<bound method" not in name self.name = name self.definition = definition self.variables = variables self.is_ellipsis_args = is_ellipsis_args self.implicit = implicit self.is_classmethod_class = is_classmethod_class self.special_sig = special_sig self.from_type_type = from_type_type self.bound_args = bound_args or [] super().__init__(line, column)
https://github.com/python/mypy/issues/4599
Traceback (most recent call last): File "[somewhere]/mypy/main.py", line 80, in main type_check_only(sources, bin_dir, options, flush_errors) File "[somewhere]/mypy/main.py", line 129, in type_check_only flush_errors=flush_errors) File "[somewhere]/mypy/build.py", line 172, in build result = _build(sources, options, alt_lib_path, bin_dir, saved_cache, flush_errors) File "[somewhere]/mypy/build.py", line 258, in _build graph = dispatch(sources, manager) File "[somewhere]/mypy/build.py", line 2048, in dispatch process_graph(graph, manager) File "[somewhere]/mypy/build.py", line 2349, in process_graph process_stale_scc(graph, scc, manager) File "[somewhere]/mypy/build.py", line 2525, in process_stale_scc graph[id].type_check_first_pass() File "[somewhere]/mypy/build.py", line 1923, in type_check_first_pass self.type_checker().check_first_pass() File "[somewhere]/mypy/checker.py", line 228, in check_first_pass self.accept(d) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 701, in accept return visitor.visit_class_def(self) File "[somewhere]/mypy/checker.py", line 1251, in visit_class_def self.accept(defn.defs) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 763, in accept return visitor.visit_block(self) File "[somewhere]/mypy/checker.py", line 1371, in visit_block self.accept(s) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 574, in accept return visitor.visit_decorator(self) File "[somewhere]/mypy/checker.py", line 2537, in visit_decorator self.check_func_item(e.func, name=e.func.name()) File "[somewhere]/mypy/checker.py", line 640, in check_func_item self.check_func_def(defn, typ, name) File "[somewhere]/mypy/checker.py", line 803, in check_func_def self.accept(item.body) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 763, in accept return visitor.visit_block(self) File "[somewhere]/mypy/checker.py", line 1371, in visit_block self.accept(s) File "[somewhere]/mypy/checker.py", line 323, in accept stmt.accept(self) File "[somewhere]/mypy/nodes.py", line 928, in accept return visitor.visit_if_stmt(self) File "[somewhere]/mypy/checker.py", line 2244, in visit_if_stmt self.accept(s.else_body) File "...lib/python3.5/contextlib.py", line 66, in __exit__ next(self.gen) File "[somewhere]/mypy/binder.py", line 379, in frame_context self.pop_frame(can_skip, fall_through) File "[somewhere]/mypy/binder.py", line 223, in pop_frame self.last_pop_changed = self.update_from_options(options) File "[somewhere]/mypy/binder.py", line 199, in update_from_options type = join_simple(self.declarations[key], type, other) File "[somewhere]/mypy/join.py", line 34, in join_simple if is_proper_subtype(s, t): File "[somewhere]/mypy/subtypes.py", line 835, in is_proper_subtype return left.accept(ProperSubtypeVisitor(right)) File "[somewhere]/mypy/types.py", line 742, in accept return visitor.visit_callable_type(self) File "[somewhere]/mypy/subtypes.py", line 917, in visit_callable_type use_proper_subtype=True) File "[somewhere]/mypy/subtypes.py", line 726, in is_callable_subtype if left_arg.pos is not None File "[somewhere]/mypy/types.py", line 818, in argument_by_position self.arg_kinds[position], IndexError: list index out of range
IndexError
def _visit_func_def(self, defn: FuncDef) -> None: phase_info = self.postpone_nested_functions_stack[-1] if phase_info != FUNCTION_SECOND_PHASE: self.function_stack.append(defn) # First phase of analysis for function. if not defn._fullname: defn._fullname = self.qualified_name(defn.name()) if defn.type: assert isinstance(defn.type, CallableType) self.update_function_type_variables(defn.type, defn) self.function_stack.pop() defn.is_conditional = self.block_depth[-1] > 0 # TODO(jukka): Figure out how to share the various cases. It doesn't # make sense to have (almost) duplicate code (here and elsewhere) for # 3 cases: module-level, class-level and local names. Maybe implement # a common stack of namespaces. As the 3 kinds of namespaces have # different semantics, this wouldn't always work, but it might still # be a win. # Also we can re-use some logic in self.add_symbol(). if self.is_class_scope(): # Method definition assert self.type is not None, "Type not set at class scope" defn.info = self.type add_symbol = True if not defn.is_decorated and not defn.is_overload: if ( defn.name() in self.type.names and self.type.names[defn.name()].node != defn ): # Redefinition. Conditional redefinition is okay. n = self.type.names[defn.name()].node if not self.set_original_def(n, defn): self.name_already_defined( defn.name(), defn, self.type.names[defn.name()] ) add_symbol = False if add_symbol: self.type.names[defn.name()] = SymbolTableNode(MDEF, defn) self.prepare_method_signature(defn, self.type) elif self.is_func_scope(): # Nested function assert self.locals[-1] is not None, "No locals at function scope" if not defn.is_decorated and not defn.is_overload: if defn.name() in self.locals[-1]: # Redefinition. Conditional redefinition is okay. n = self.locals[-1][defn.name()].node if not self.set_original_def(n, defn): self.name_already_defined( defn.name(), defn, self.locals[-1][defn.name()] ) else: self.add_local(defn, defn) else: # Top-level function if not defn.is_decorated and not defn.is_overload: symbol = self.globals[defn.name()] if isinstance(symbol.node, FuncDef) and symbol.node != defn: # This is redefinition. Conditional redefinition is okay. if not self.set_original_def(symbol.node, defn): # Report error. self.check_no_global(defn.name(), defn, True) # Analyze function signature and initializers in the first phase # (at least this mirrors what happens at runtime). with self.tvar_scope_frame(self.tvar_scope.method_frame()): if defn.type: self.check_classvar_in_signature(defn.type) assert isinstance(defn.type, CallableType) # Signature must be analyzed in the surrounding scope so that # class-level imported names and type variables are in scope. analyzer = self.type_analyzer() defn.type = analyzer.visit_callable_type(defn.type, nested=False) self.add_type_alias_deps(analyzer.aliases_used) self.check_function_signature(defn) if isinstance(defn, FuncDef): assert isinstance(defn.type, CallableType) defn.type = set_callable_name(defn.type, defn) for arg in defn.arguments: if arg.initializer: arg.initializer.accept(self) if phase_info == FUNCTION_FIRST_PHASE_POSTPONE_SECOND: # Postpone this function (for the second phase). self.postponed_functions_stack[-1].append(defn) return if phase_info != FUNCTION_FIRST_PHASE_POSTPONE_SECOND: # Second phase of analysis for function. self.analyze_function(defn) if defn.is_coroutine and isinstance(defn.type, CallableType): if defn.is_async_generator: # Async generator types are handled elsewhere pass else: # A coroutine defined as `async def foo(...) -> T: ...` # has external return type `Coroutine[Any, Any, T]`. any_type = AnyType(TypeOfAny.special_form) ret_type = self.named_type_or_none( "typing.Coroutine", [any_type, any_type, defn.type.ret_type] ) assert ret_type is not None, ( "Internal error: typing.Coroutine not found" ) defn.type = defn.type.copy_modified(ret_type=ret_type)
def _visit_func_def(self, defn: FuncDef) -> None: phase_info = self.postpone_nested_functions_stack[-1] if phase_info != FUNCTION_SECOND_PHASE: self.function_stack.append(defn) # First phase of analysis for function. if not defn._fullname: defn._fullname = self.qualified_name(defn.name()) if defn.type: assert isinstance(defn.type, CallableType) self.update_function_type_variables(defn.type, defn) self.function_stack.pop() defn.is_conditional = self.block_depth[-1] > 0 # TODO(jukka): Figure out how to share the various cases. It doesn't # make sense to have (almost) duplicate code (here and elsewhere) for # 3 cases: module-level, class-level and local names. Maybe implement # a common stack of namespaces. As the 3 kinds of namespaces have # different semantics, this wouldn't always work, but it might still # be a win. if self.is_class_scope(): # Method definition assert self.type is not None, "Type not set at class scope" defn.info = self.type if not defn.is_decorated and not defn.is_overload: if ( defn.name() in self.type.names and self.type.names[defn.name()].node != defn ): # Redefinition. Conditional redefinition is okay. n = self.type.names[defn.name()].node if not self.set_original_def(n, defn): self.name_already_defined( defn.name(), defn, self.type.names[defn.name()] ) self.type.names[defn.name()] = SymbolTableNode(MDEF, defn) self.prepare_method_signature(defn, self.type) elif self.is_func_scope(): # Nested function assert self.locals[-1] is not None, "No locals at function scope" if not defn.is_decorated and not defn.is_overload: if defn.name() in self.locals[-1]: # Redefinition. Conditional redefinition is okay. n = self.locals[-1][defn.name()].node if not self.set_original_def(n, defn): self.name_already_defined( defn.name(), defn, self.locals[-1][defn.name()] ) else: self.add_local(defn, defn) else: # Top-level function if not defn.is_decorated and not defn.is_overload: symbol = self.globals[defn.name()] if isinstance(symbol.node, FuncDef) and symbol.node != defn: # This is redefinition. Conditional redefinition is okay. if not self.set_original_def(symbol.node, defn): # Report error. self.check_no_global(defn.name(), defn, True) # Analyze function signature and initializers in the first phase # (at least this mirrors what happens at runtime). with self.tvar_scope_frame(self.tvar_scope.method_frame()): if defn.type: self.check_classvar_in_signature(defn.type) assert isinstance(defn.type, CallableType) # Signature must be analyzed in the surrounding scope so that # class-level imported names and type variables are in scope. analyzer = self.type_analyzer() defn.type = analyzer.visit_callable_type(defn.type, nested=False) self.add_type_alias_deps(analyzer.aliases_used) self.check_function_signature(defn) if isinstance(defn, FuncDef): assert isinstance(defn.type, CallableType) defn.type = set_callable_name(defn.type, defn) for arg in defn.arguments: if arg.initializer: arg.initializer.accept(self) if phase_info == FUNCTION_FIRST_PHASE_POSTPONE_SECOND: # Postpone this function (for the second phase). self.postponed_functions_stack[-1].append(defn) return if phase_info != FUNCTION_FIRST_PHASE_POSTPONE_SECOND: # Second phase of analysis for function. self.analyze_function(defn) if defn.is_coroutine and isinstance(defn.type, CallableType): if defn.is_async_generator: # Async generator types are handled elsewhere pass else: # A coroutine defined as `async def foo(...) -> T: ...` # has external return type `Coroutine[Any, Any, T]`. any_type = AnyType(TypeOfAny.special_form) ret_type = self.named_type_or_none( "typing.Coroutine", [any_type, any_type, defn.type.ret_type] ) assert ret_type is not None, ( "Internal error: typing.Coroutine not found" ) defn.type = defn.type.copy_modified(ret_type=ret_type)
https://github.com/python/mypy/issues/5534
Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2846, in process_graph process_fresh_modules(graph, prev_scc, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2932, in process_fresh_modules graph[id].fix_cross_refs() File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 1975, in fix_cross_refs self.options.use_fine_grained_cache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 24, in fixup_module node_fixer.visit_symbol_table(tree.names) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 89, in visit_symbol_table value.node.accept(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/nodes.py", line 2539, in accept return visitor.visit_type_alias(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 135, in visit_type_alias a.target.accept(self.type_fixer) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/types.py", line 511, in accept return visitor.visit_instance(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 149, in visit_instance inst.type = lookup_qualified_typeinfo(self.modules, type_ref, self.quick_and_dirty) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 239, in lookup_qualified_typeinfo assert quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError
def add_symbol(self, name: str, node: SymbolTableNode, context: Context) -> None: # NOTE: This logic mostly parallels SemanticAnalyzerPass1.add_symbol. If you change # this, you may have to change the other method as well. # TODO: Combine these methods in the first and second pass into a single one. if self.is_func_scope(): assert self.locals[-1] is not None if name in self.locals[-1]: # Flag redefinition unless this is a reimport of a module. if not ( node.kind == MODULE_REF and self.locals[-1][name].node == node.node ): self.name_already_defined(name, context, self.locals[-1][name]) return self.locals[-1][name] = node elif self.type: existing = self.type.names.get(name) if existing and existing.node != node.node: self.name_already_defined(name, context, existing) return self.type.names[name] = node else: existing = self.globals.get(name) if ( existing and (not isinstance(node.node, MypyFile) or existing.node != node.node) and existing.kind != UNBOUND_IMPORTED and not isinstance(existing.node, ImportedName) ): # Modules can be imported multiple times to support import # of multiple submodules of a package (e.g. a.x and a.y). ok = False # Only report an error if the symbol collision provides a different type. if existing.type and node.type and is_same_type(existing.type, node.type): ok = True if not ok: self.name_already_defined(name, context, existing) return self.globals[name] = node
def add_symbol(self, name: str, node: SymbolTableNode, context: Context) -> None: # NOTE: This logic mostly parallels SemanticAnalyzerPass1.add_symbol. If you change # this, you may have to change the other method as well. if self.is_func_scope(): assert self.locals[-1] is not None if name in self.locals[-1]: # Flag redefinition unless this is a reimport of a module. if not ( node.kind == MODULE_REF and self.locals[-1][name].node == node.node ): self.name_already_defined(name, context, self.locals[-1][name]) self.locals[-1][name] = node elif self.type: self.type.names[name] = node else: existing = self.globals.get(name) if ( existing and (not isinstance(node.node, MypyFile) or existing.node != node.node) and existing.kind != UNBOUND_IMPORTED and not isinstance(existing.node, ImportedName) ): # Modules can be imported multiple times to support import # of multiple submodules of a package (e.g. a.x and a.y). ok = False # Only report an error if the symbol collision provides a different type. if existing.type and node.type and is_same_type(existing.type, node.type): ok = True if not ok: self.name_already_defined(name, context, existing) self.globals[name] = node
https://github.com/python/mypy/issues/5534
Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2846, in process_graph process_fresh_modules(graph, prev_scc, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2932, in process_fresh_modules graph[id].fix_cross_refs() File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 1975, in fix_cross_refs self.options.use_fine_grained_cache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 24, in fixup_module node_fixer.visit_symbol_table(tree.names) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 89, in visit_symbol_table value.node.accept(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/nodes.py", line 2539, in accept return visitor.visit_type_alias(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 135, in visit_type_alias a.target.accept(self.type_fixer) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/types.py", line 511, in accept return visitor.visit_instance(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 149, in visit_instance inst.type = lookup_qualified_typeinfo(self.modules, type_ref, self.quick_and_dirty) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 239, in lookup_qualified_typeinfo assert quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError
def add_local(self, node: Union[Var, FuncDef, OverloadedFuncDef], ctx: Context) -> None: assert self.locals[-1] is not None, "Should not add locals outside a function" name = node.name() if name in self.locals[-1]: self.name_already_defined(name, ctx, self.locals[-1][name]) return node._fullname = name self.locals[-1][name] = SymbolTableNode(LDEF, node)
def add_local(self, node: Union[Var, FuncDef, OverloadedFuncDef], ctx: Context) -> None: assert self.locals[-1] is not None, "Should not add locals outside a function" name = node.name() if name in self.locals[-1]: self.name_already_defined(name, ctx, self.locals[-1][name]) node._fullname = name self.locals[-1][name] = SymbolTableNode(LDEF, node)
https://github.com/python/mypy/issues/5534
Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2846, in process_graph process_fresh_modules(graph, prev_scc, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2932, in process_fresh_modules graph[id].fix_cross_refs() File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 1975, in fix_cross_refs self.options.use_fine_grained_cache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 24, in fixup_module node_fixer.visit_symbol_table(tree.names) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 89, in visit_symbol_table value.node.accept(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/nodes.py", line 2539, in accept return visitor.visit_type_alias(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 135, in visit_type_alias a.target.accept(self.type_fixer) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/types.py", line 511, in accept return visitor.visit_instance(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 149, in visit_instance inst.type = lookup_qualified_typeinfo(self.modules, type_ref, self.quick_and_dirty) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 239, in lookup_qualified_typeinfo assert quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError
def add_symbol(self, name: str, node: SymbolTableNode, context: Context) -> None: # NOTE: This is closely related to SemanticAnalyzerPass2.add_symbol. Since both methods # will be called on top-level definitions, they need to co-operate. If you change # this, you may have to change the other method as well. if self.sem.is_func_scope(): assert self.sem.locals[-1] is not None if name in self.sem.locals[-1]: # Flag redefinition unless this is a reimport of a module. if not ( node.kind == MODULE_REF and self.sem.locals[-1][name].node == node.node ): self.sem.name_already_defined(name, context, self.sem.locals[-1][name]) return self.sem.locals[-1][name] = node else: assert self.sem.type is None # Pass 1 doesn't look inside classes existing = self.sem.globals.get(name) if ( existing and (not isinstance(node.node, MypyFile) or existing.node != node.node) and existing.kind != UNBOUND_IMPORTED and not isinstance(existing.node, ImportedName) ): # Modules can be imported multiple times to support import # of multiple submodules of a package (e.g. a.x and a.y). ok = False # Only report an error if the symbol collision provides a different type. if existing.type and node.type and is_same_type(existing.type, node.type): ok = True if not ok: self.sem.name_already_defined(name, context, existing) return elif not existing: self.sem.globals[name] = node
def add_symbol(self, name: str, node: SymbolTableNode, context: Context) -> None: # NOTE: This is closely related to SemanticAnalyzerPass2.add_symbol. Since both methods # will be called on top-level definitions, they need to co-operate. If you change # this, you may have to change the other method as well. if self.sem.is_func_scope(): assert self.sem.locals[-1] is not None if name in self.sem.locals[-1]: # Flag redefinition unless this is a reimport of a module. if not ( node.kind == MODULE_REF and self.sem.locals[-1][name].node == node.node ): self.sem.name_already_defined(name, context, self.sem.locals[-1][name]) self.sem.locals[-1][name] = node else: assert self.sem.type is None # Pass 1 doesn't look inside classes existing = self.sem.globals.get(name) if ( existing and (not isinstance(node.node, MypyFile) or existing.node != node.node) and existing.kind != UNBOUND_IMPORTED and not isinstance(existing.node, ImportedName) ): # Modules can be imported multiple times to support import # of multiple submodules of a package (e.g. a.x and a.y). ok = False # Only report an error if the symbol collision provides a different type. if existing.type and node.type and is_same_type(existing.type, node.type): ok = True if not ok: self.sem.name_already_defined(name, context, existing) elif not existing: self.sem.globals[name] = node
https://github.com/python/mypy/issues/5534
Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2560, in dispatch process_graph(graph, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2846, in process_graph process_fresh_modules(graph, prev_scc, manager) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 2932, in process_fresh_modules graph[id].fix_cross_refs() File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/build.py", line 1975, in fix_cross_refs self.options.use_fine_grained_cache) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 24, in fixup_module node_fixer.visit_symbol_table(tree.names) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 89, in visit_symbol_table value.node.accept(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/nodes.py", line 2539, in accept return visitor.visit_type_alias(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 135, in visit_type_alias a.target.accept(self.type_fixer) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/types.py", line 511, in accept return visitor.visit_instance(self) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 149, in visit_instance inst.type = lookup_qualified_typeinfo(self.modules, type_ref, self.quick_and_dirty) File "/Users/kevin/coding/mypy-bug/venv/lib/python3.7/site-packages/mypy/fixup.py", line 239, in lookup_qualified_typeinfo assert quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError
def _build( sources: List[BuildSource], options: Options, alt_lib_path: Optional[str], bin_dir: Optional[str], flush_errors: Callable[[List[str], bool], None], fscache: Optional[FileSystemCache], ) -> BuildResult: # This seems the most reasonable place to tune garbage collection. gc.set_threshold(50000) data_dir = default_data_dir() fscache = fscache or FileSystemCache() search_paths = compute_search_paths( sources, options, data_dir, fscache, alt_lib_path ) reports = Reports(data_dir, options.report_dirs) source_set = BuildSourceSet(sources) errors = Errors(options.show_error_context, options.show_column_numbers) plugin = load_plugins(options, errors) # Construct a build manager object to hold state during the build. # # Ignore current directory prefix in error messages. manager = BuildManager( data_dir, search_paths, ignore_prefix=os.getcwd(), source_set=source_set, reports=reports, options=options, version_id=__version__, plugin=plugin, errors=errors, flush_errors=flush_errors, fscache=fscache, ) reset_global_state() try: graph = dispatch(sources, manager) if not options.fine_grained_incremental: TypeState.reset_all_subtype_caches() return BuildResult(manager, graph) finally: manager.log( "Build finished in %.3f seconds with %d modules, and %d errors" % ( time.time() - manager.start_time, len(manager.modules), manager.errors.num_messages(), ) ) # Finish the HTML or XML reports even if CompileError was raised. reports.finish()
def _build( sources: List[BuildSource], options: Options, alt_lib_path: Optional[str], bin_dir: Optional[str], flush_errors: Callable[[List[str], bool], None], fscache: Optional[FileSystemCache], ) -> BuildResult: # This seems the most reasonable place to tune garbage collection. gc.set_threshold(50000) data_dir = default_data_dir(bin_dir) fscache = fscache or FileSystemCache() search_paths = compute_search_paths( sources, options, data_dir, fscache, alt_lib_path ) reports = Reports(data_dir, options.report_dirs) source_set = BuildSourceSet(sources) errors = Errors(options.show_error_context, options.show_column_numbers) plugin = load_plugins(options, errors) # Construct a build manager object to hold state during the build. # # Ignore current directory prefix in error messages. manager = BuildManager( data_dir, search_paths, ignore_prefix=os.getcwd(), source_set=source_set, reports=reports, options=options, version_id=__version__, plugin=plugin, errors=errors, flush_errors=flush_errors, fscache=fscache, ) reset_global_state() try: graph = dispatch(sources, manager) if not options.fine_grained_incremental: TypeState.reset_all_subtype_caches() return BuildResult(manager, graph) finally: manager.log( "Build finished in %.3f seconds with %d modules, and %d errors" % ( time.time() - manager.start_time, len(manager.modules), manager.errors.num_messages(), ) ) # Finish the HTML or XML reports even if CompileError was raised. reports.finish()
https://github.com/python/mypy/issues/5319
./contrib/sacrebleu/sacrebleu.py: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610 Traceback (most recent call last): File "/usr/local/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 185, in build flush_errors, fscache) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 285, in _build graph = dispatch(sources, manager) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2398, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2691, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2801, in process_stale_scc graph[id].semantic_analysis() File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2009, in semantic_analysis self.manager.semantic_analyzer.visit_file(self.tree, self.xpath, self.options, patches) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 1818, in wrap_context yield File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2009, in semantic_analysis self.manager.semantic_analyzer.visit_file(self.tree, self.xpath, self.options, patches) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 291, in visit_file v.type = self.anal_type(v.type) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 1578, in anal_type typ = t.accept(a) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 203, in accept return visitor.visit_unbound_type(self) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 178, in visit_unbound_type typ = self.visit_unbound_type_nonoptional(t) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 186, in visit_unbound_type_nonoptional sym = self.lookup(t.name, t, suppress_errors=self.third_pass) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3058, in lookup_qualified n = self.lookup(parts[0], ctx, suppress_errors=suppress_errors) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3038, in lookup self.name_not_defined(name, ctx) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3246, in name_not_defined self.fail(message, ctx) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3281, in fail self.errors.report(ctx.get_line(), ctx.get_column(), msg, blocker=blocker) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/errors.py", line 260, in report target=self.current_target()) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/errors.py", line 208, in current_target return self.scope.current_target() File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/scope.py", line 30, in current_target assert self.module AssertionError: ./contrib/sacrebleu/sacrebleu.py: : note: use --pdb to drop into pdb
AssertionError
def default_data_dir() -> str: """Returns directory containing typeshed directory.""" return os.path.dirname(__file__)
def default_data_dir(bin_dir: Optional[str]) -> str: """Returns directory containing typeshed directory Args: bin_dir: directory containing the mypy script """ if not bin_dir: if os.name == "nt": prefixes = [os.path.join(sys.prefix, "Lib")] try: prefixes.append(os.path.join(site.getuserbase(), "lib")) except AttributeError: # getuserbase in not available in virtualenvs prefixes.append(os.path.join(get_python_lib(), "lib")) for parent in prefixes: data_dir = os.path.join(parent, "mypy") if os.path.exists(data_dir): return data_dir mypy_package = os.path.dirname(__file__) parent = os.path.dirname(mypy_package) if ( os.path.basename(parent) == "site-packages" or os.path.basename(parent) == "dist-packages" ): # Installed in site-packages or dist-packages, but invoked with python3 -m mypy; # __file__ is .../blah/lib/python3.N/site-packages/mypy/build.py # or .../blah/lib/python3.N/dist-packages/mypy/build.py (Debian) # or .../blah/lib64/python3.N/dist-packages/mypy/build.py (Gentoo) # or .../blah/lib/site-packages/mypy/build.py (Windows) # blah may be a virtualenv or /usr/local. We want .../blah/lib/mypy. lib = parent for i in range(2): lib = os.path.dirname(lib) if os.path.basename(lib) in ("lib", "lib32", "lib64"): return os.path.join(os.path.dirname(lib), "lib/mypy") subdir = os.path.join(parent, "lib", "mypy") if os.path.isdir(subdir): # If installed via buildout, the __file__ is # somewhere/mypy/__init__.py and what we want is # somewhere/lib/mypy. return subdir # Default to directory containing this file's parent. return parent base = os.path.basename(bin_dir) dir = os.path.dirname(bin_dir) if ( sys.platform == "win32" and base.lower() == "scripts" and not os.path.isdir(os.path.join(dir, "typeshed")) ): # Installed, on Windows. return os.path.join(dir, "Lib", "mypy") elif base == "scripts": # Assume that we have a repo check out or unpacked source tarball. return dir elif base == "bin": # Installed to somewhere (can be under /usr/local or anywhere). return os.path.join(dir, "lib", "mypy") elif base == "python3": # Assume we installed python3 with brew on os x return os.path.join(os.path.dirname(dir), "lib", "mypy") elif dir.endswith("python-exec"): # Gentoo uses a python wrapper in /usr/lib to which mypy is a symlink. return os.path.join(os.path.dirname(dir), "mypy") else: # Don't know where to find the data files! raise RuntimeError("Broken installation: can't determine base dir")
https://github.com/python/mypy/issues/5319
./contrib/sacrebleu/sacrebleu.py: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610 Traceback (most recent call last): File "/usr/local/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 185, in build flush_errors, fscache) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 285, in _build graph = dispatch(sources, manager) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2398, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2691, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2801, in process_stale_scc graph[id].semantic_analysis() File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2009, in semantic_analysis self.manager.semantic_analyzer.visit_file(self.tree, self.xpath, self.options, patches) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 1818, in wrap_context yield File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2009, in semantic_analysis self.manager.semantic_analyzer.visit_file(self.tree, self.xpath, self.options, patches) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 291, in visit_file v.type = self.anal_type(v.type) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 1578, in anal_type typ = t.accept(a) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 203, in accept return visitor.visit_unbound_type(self) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 178, in visit_unbound_type typ = self.visit_unbound_type_nonoptional(t) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 186, in visit_unbound_type_nonoptional sym = self.lookup(t.name, t, suppress_errors=self.third_pass) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3058, in lookup_qualified n = self.lookup(parts[0], ctx, suppress_errors=suppress_errors) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3038, in lookup self.name_not_defined(name, ctx) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3246, in name_not_defined self.fail(message, ctx) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal.py", line 3281, in fail self.errors.report(ctx.get_line(), ctx.get_column(), msg, blocker=blocker) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/errors.py", line 260, in report target=self.current_target()) File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/errors.py", line 208, in current_target return self.scope.current_target() File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/scope.py", line 30, in current_target assert self.module AssertionError: ./contrib/sacrebleu/sacrebleu.py: : note: use --pdb to drop into pdb
AssertionError
def __init__(self, strategy: Callable[[Iterable[T]], T]) -> None: self.strategy = strategy self.seen = [] # type: List[Type]
def __init__(self, strategy: Callable[[Iterable[T]], T]) -> None: self.strategy = strategy
https://github.com/python/mypy/issues/4780
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.6/bin/mypy", line 11, in <module> load_entry_point('mypy===0.580-dev-51b4e0cb3726d03e2d17c8a0de4d56110e30c5e5', 'console_scripts', 'mypy')() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 88, in main type_check_only(sources, bin_dir, options, flush_errors) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 137, in type_check_only flush_errors=flush_errors) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 179, in build flush_errors, fscache) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 264, in _build graph = dispatch(sources, manager) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2056, in dispatch process_graph(graph, manager) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2341, in process_graph process_stale_scc(graph, scc, manager) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2463, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 1885, in semantic_analysis_pass_three self.options, patches) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 71, in visit_file self.accept(file_node) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 96, in accept node.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/nodes.py", line 237, in accept return visitor.visit_mypy_file(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/nodes.py", line 853, in accept return visitor.visit_assignment_stmt(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 246, in visit_assignment_stmt self.analyze(analyzed.info.tuple_type, analyzed, warn=True) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 371, in analyze self.check_for_omitted_generics(type) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 441, in check_for_omitted_generics for t in collect_any_types(typ): File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 972, in collect_any_types return t.accept(CollectAnyTypesQuery()) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Libra
flush_error
def query_types(self, types: Iterable[Type]) -> T: """Perform a query for a list of types. Use the strategy to combine the results. Skip types already visited types to avoid infinite recursion. Note: types can be recursive until they are fully analyzed and "unentangled" in patches after the semantic analysis. """ res = [] # type: List[T] for t in types: if any(t is s for s in self.seen): continue self.seen.append(t) res.append(t.accept(self)) return self.strategy(res)
def query_types(self, types: Iterable[Type]) -> T: """Perform a query for a list of types. Use the strategy to combine the results. """ return self.strategy(t.accept(self) for t in types)
https://github.com/python/mypy/issues/4780
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.6/bin/mypy", line 11, in <module> load_entry_point('mypy===0.580-dev-51b4e0cb3726d03e2d17c8a0de4d56110e30c5e5', 'console_scripts', 'mypy')() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 88, in main type_check_only(sources, bin_dir, options, flush_errors) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/main.py", line 137, in type_check_only flush_errors=flush_errors) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 179, in build flush_errors, fscache) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 264, in _build graph = dispatch(sources, manager) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2056, in dispatch process_graph(graph, manager) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2341, in process_graph process_stale_scc(graph, scc, manager) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 2463, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/build.py", line 1885, in semantic_analysis_pass_three self.options, patches) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 71, in visit_file self.accept(file_node) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 96, in accept node.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/nodes.py", line 237, in accept return visitor.visit_mypy_file(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/nodes.py", line 853, in accept return visitor.visit_assignment_stmt(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 246, in visit_assignment_stmt self.analyze(analyzed.info.tuple_type, analyzed, warn=True) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 371, in analyze self.check_for_omitted_generics(type) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 441, in check_for_omitted_generics for t in collect_any_types(typ): File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 972, in collect_any_types return t.accept(CollectAnyTypesQuery()) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1006, in accept return visitor.visit_tuple_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1865, in visit_tuple_type return self.query_types(t.items) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in query_types return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/typeanal.py", line 985, in combine_lists_strategy for l in it: File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1896, in <genexpr> return self.strategy(t.accept(self) for t in types) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1437, in accept return visitor.visit_forwardref_type(self) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mypy/types.py", line 1884, in visit_forwardref_type return t.resolved.accept(self) File "/Libra
flush_error
def visit_instance(self, t: Instance) -> Type: info = t.type for (i, arg), tvar in zip(enumerate(t.args), info.defn.type_vars): if tvar.values: if isinstance(arg, TypeVarType): arg_values = arg.values if not arg_values: self.fail( 'Type variable "{}" not valid as type ' 'argument value for "{}"'.format(arg.name, info.name()), t, ) continue else: arg_values = [arg] self.check_type_var_values( info, arg_values, tvar.name, tvar.values, i + 1, t ) if not is_subtype(arg, tvar.upper_bound): self.fail( 'Type argument "{}" of "{}" must be a subtype of "{}"'.format( arg, info.name(), tvar.upper_bound ), t, ) return super().visit_instance(t)
def visit_instance(self, t: Instance) -> Type: info = t.type for (i, arg), tvar in zip(enumerate(t.args), info.defn.type_vars): if tvar.values: if isinstance(arg, TypeVarType): arg_values = arg.values if not arg_values: self.fail( 'Type variable "{}" not valid as type ' 'argument value for "{}"'.format(arg.name, info.name()), t, ) continue else: arg_values = [arg] self.check_type_var_values( info, arg_values, tvar.name, tvar.values, i + 1, t ) if not is_subtype(arg, tvar.upper_bound): self.fail( 'Type argument "{}" of "{}" must be a subtype of "{}"'.format( arg, info.name(), tvar.upper_bound ), t, ) return t
https://github.com/python/mypy/issues/4649
.\break_mypy.py:22: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.560 Traceback (most recent call last): File "c:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Anaconda3\Scripts\mypy.exe\__main__.py", line 9, in <module> sys.exit(console_entry()) File "c:\anaconda3\lib\site-packages\mypy\__main__.py", line 7, in console_entry main(None) File "c:\anaconda3\lib\site-packages\mypy\main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "c:\anaconda3\lib\site-packages\mypy\main.py", line 119, in type_check_only options=options) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 218, in build graph = dispatch(sources, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 1997, in dispatch process_graph(graph, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 2299, in process_graph process_stale_scc(graph, scc, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 2475, in process_stale_scc graph[id].type_check_first_pass() File "c:\anaconda3\lib\site-packages\mypy\build.py", line 1876, in type_check_first_pass self.type_checker().check_first_pass() File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 196, in check_first_pass self.accept(d) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 497, in accept return visitor.visit_func_def(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 534, in visit_func_def self.check_func_item(defn, name=defn.name()) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 599, in check_func_item self.check_func_def(defn, typ, name) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 762, in check_func_def self.accept(item.body) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 756, in accept return visitor.visit_block(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 1330, in visit_block self.accept(s) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 770, in accept return visitor.visit_expression_stmt(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 2097, in visit_expression_stmt self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 2361, in accept typ = self.visit_call_expr(node, allow_none_return=True) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 268, in visit_call_expr ret_type = self.check_call_expr_with_callee_type(callee_type, e, fullname, object_type) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 505, in check_call_expr_with_callee_type object_type=object_type)[0] File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 611, in check_call object_type=object_type) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 568, in check_call callee, args, arg_kinds, formal_to_actual, context) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 823, in infer_function_type_arguments inferred_args, context) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 877, in infer_function_type_arguments_pass2 callee_type, arg_types, arg_kinds, formal_to_actual) File "c:\anaconda3\lib\site-packages\mypy\infer.py", line 31, in infer_function_type_arguments callee_type, arg_types, arg_kinds, formal_to_actual) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 63, in infer_constraints_for_callable SUPERTYPE_OF) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 174, in infer_constraints return template.accept(ConstraintBuilderVisitor(actual, direction)) File "c:\anaconda3\lib\site-packages\mypy\types.py", line 739, in accept return visitor.visit_callable_type(self) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 415, in visit_callable_type res.extend(infer_constraints(t, a, neg_op(self.direction))) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 174, in infer_constraints return template.accept(ConstraintBuilderVisitor(actual, direction)) File "c:\anaconda3\lib\site-packages\mypy\types.py", line 475, in accept return visitor.visit_instance(self) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 326, in visit_instance mapped.args[i], instance.args[i], self.direction)) IndexError: list index out of range .\break_mypy.py:22: : note: use --pdb to drop into pdb
IndexError
def visit_instance(self, t: Instance) -> None: info = t.type if info.replaced or info.tuple_type: self.indicator["synthetic"] = True # Check type argument count. if len(t.args) != len(info.type_vars): fix_instance(t, self.fail) elif info.defn.type_vars: # Check type argument values. This is postponed to the end of semantic analysis # since we need full MROs and resolved forward references. for tvar in info.defn.type_vars: if ( tvar.values or not isinstance(tvar.upper_bound, Instance) or tvar.upper_bound.type.fullname() != "builtins.object" ): # Some restrictions on type variable. These can only be checked later # after we have final MROs and forward references have been resolved. self.indicator["typevar"] = True for arg in t.args: arg.accept(self) if info.is_newtype: for base in info.bases: base.accept(self)
def visit_instance(self, t: Instance) -> None: info = t.type if info.replaced or info.tuple_type: self.indicator["synthetic"] = True # Check type argument count. if len(t.args) != len(info.type_vars): if len(t.args) == 0: any_type = AnyType( TypeOfAny.from_omitted_generics, line=t.line, column=t.column ) t.args = [any_type] * len(info.type_vars) return # Invalid number of type parameters. n = len(info.type_vars) s = "{} type arguments".format(n) if n == 0: s = "no type arguments" elif n == 1: s = "1 type argument" act = str(len(t.args)) if act == "0": act = "none" self.fail('"{}" expects {}, but {} given'.format(info.name(), s, act), t) # Construct the correct number of type arguments, as # otherwise the type checker may crash as it expects # things to be right. t.args = [AnyType(TypeOfAny.from_error) for _ in info.type_vars] t.invalid = True elif info.defn.type_vars: # Check type argument values. This is postponed to the end of semantic analysis # since we need full MROs and resolved forward references. for tvar in info.defn.type_vars: if ( tvar.values or not isinstance(tvar.upper_bound, Instance) or tvar.upper_bound.type.fullname() != "builtins.object" ): # Some restrictions on type variable. These can only be checked later # after we have final MROs and forward references have been resolved. self.indicator["typevar"] = True for arg in t.args: arg.accept(self) if info.is_newtype: for base in info.bases: base.accept(self)
https://github.com/python/mypy/issues/4649
.\break_mypy.py:22: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.560 Traceback (most recent call last): File "c:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Anaconda3\Scripts\mypy.exe\__main__.py", line 9, in <module> sys.exit(console_entry()) File "c:\anaconda3\lib\site-packages\mypy\__main__.py", line 7, in console_entry main(None) File "c:\anaconda3\lib\site-packages\mypy\main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "c:\anaconda3\lib\site-packages\mypy\main.py", line 119, in type_check_only options=options) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 218, in build graph = dispatch(sources, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 1997, in dispatch process_graph(graph, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 2299, in process_graph process_stale_scc(graph, scc, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 2475, in process_stale_scc graph[id].type_check_first_pass() File "c:\anaconda3\lib\site-packages\mypy\build.py", line 1876, in type_check_first_pass self.type_checker().check_first_pass() File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 196, in check_first_pass self.accept(d) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 497, in accept return visitor.visit_func_def(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 534, in visit_func_def self.check_func_item(defn, name=defn.name()) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 599, in check_func_item self.check_func_def(defn, typ, name) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 762, in check_func_def self.accept(item.body) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 756, in accept return visitor.visit_block(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 1330, in visit_block self.accept(s) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 770, in accept return visitor.visit_expression_stmt(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 2097, in visit_expression_stmt self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 2361, in accept typ = self.visit_call_expr(node, allow_none_return=True) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 268, in visit_call_expr ret_type = self.check_call_expr_with_callee_type(callee_type, e, fullname, object_type) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 505, in check_call_expr_with_callee_type object_type=object_type)[0] File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 611, in check_call object_type=object_type) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 568, in check_call callee, args, arg_kinds, formal_to_actual, context) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 823, in infer_function_type_arguments inferred_args, context) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 877, in infer_function_type_arguments_pass2 callee_type, arg_types, arg_kinds, formal_to_actual) File "c:\anaconda3\lib\site-packages\mypy\infer.py", line 31, in infer_function_type_arguments callee_type, arg_types, arg_kinds, formal_to_actual) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 63, in infer_constraints_for_callable SUPERTYPE_OF) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 174, in infer_constraints return template.accept(ConstraintBuilderVisitor(actual, direction)) File "c:\anaconda3\lib\site-packages\mypy\types.py", line 739, in accept return visitor.visit_callable_type(self) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 415, in visit_callable_type res.extend(infer_constraints(t, a, neg_op(self.direction))) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 174, in infer_constraints return template.accept(ConstraintBuilderVisitor(actual, direction)) File "c:\anaconda3\lib\site-packages\mypy\types.py", line 475, in accept return visitor.visit_instance(self) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 326, in visit_instance mapped.args[i], instance.args[i], self.direction)) IndexError: list index out of range .\break_mypy.py:22: : note: use --pdb to drop into pdb
IndexError
def visit_forwardref_type(self, t: ForwardRef) -> None: self.indicator["forward"] = True if t.resolved is None: resolved = self.anal_type(t.unbound) t.resolve(resolved) assert t.resolved is not None t.resolved.accept(self)
def visit_forwardref_type(self, t: ForwardRef) -> None: self.indicator["forward"] = True if t.resolved is None: resolved = self.anal_type(t.unbound) t.resolve(resolved)
https://github.com/python/mypy/issues/4649
.\break_mypy.py:22: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.560 Traceback (most recent call last): File "c:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Anaconda3\Scripts\mypy.exe\__main__.py", line 9, in <module> sys.exit(console_entry()) File "c:\anaconda3\lib\site-packages\mypy\__main__.py", line 7, in console_entry main(None) File "c:\anaconda3\lib\site-packages\mypy\main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "c:\anaconda3\lib\site-packages\mypy\main.py", line 119, in type_check_only options=options) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 218, in build graph = dispatch(sources, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 1997, in dispatch process_graph(graph, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 2299, in process_graph process_stale_scc(graph, scc, manager) File "c:\anaconda3\lib\site-packages\mypy\build.py", line 2475, in process_stale_scc graph[id].type_check_first_pass() File "c:\anaconda3\lib\site-packages\mypy\build.py", line 1876, in type_check_first_pass self.type_checker().check_first_pass() File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 196, in check_first_pass self.accept(d) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 497, in accept return visitor.visit_func_def(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 534, in visit_func_def self.check_func_item(defn, name=defn.name()) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 599, in check_func_item self.check_func_def(defn, typ, name) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 762, in check_func_def self.accept(item.body) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 756, in accept return visitor.visit_block(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 1330, in visit_block self.accept(s) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 286, in accept stmt.accept(self) File "c:\anaconda3\lib\site-packages\mypy\nodes.py", line 770, in accept return visitor.visit_expression_stmt(self) File "c:\anaconda3\lib\site-packages\mypy\checker.py", line 2097, in visit_expression_stmt self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 2361, in accept typ = self.visit_call_expr(node, allow_none_return=True) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 268, in visit_call_expr ret_type = self.check_call_expr_with_callee_type(callee_type, e, fullname, object_type) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 505, in check_call_expr_with_callee_type object_type=object_type)[0] File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 611, in check_call object_type=object_type) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 568, in check_call callee, args, arg_kinds, formal_to_actual, context) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 823, in infer_function_type_arguments inferred_args, context) File "c:\anaconda3\lib\site-packages\mypy\checkexpr.py", line 877, in infer_function_type_arguments_pass2 callee_type, arg_types, arg_kinds, formal_to_actual) File "c:\anaconda3\lib\site-packages\mypy\infer.py", line 31, in infer_function_type_arguments callee_type, arg_types, arg_kinds, formal_to_actual) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 63, in infer_constraints_for_callable SUPERTYPE_OF) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 174, in infer_constraints return template.accept(ConstraintBuilderVisitor(actual, direction)) File "c:\anaconda3\lib\site-packages\mypy\types.py", line 739, in accept return visitor.visit_callable_type(self) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 415, in visit_callable_type res.extend(infer_constraints(t, a, neg_op(self.direction))) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 174, in infer_constraints return template.accept(ConstraintBuilderVisitor(actual, direction)) File "c:\anaconda3\lib\site-packages\mypy\types.py", line 475, in accept return visitor.visit_instance(self) File "c:\anaconda3\lib\site-packages\mypy\constraints.py", line 326, in visit_instance mapped.args[i], instance.args[i], self.direction)) IndexError: list index out of range .\break_mypy.py:22: : note: use --pdb to drop into pdb
IndexError
def check_namedtuple( self, node: Expression, var_name: Optional[str], is_func_scope: bool ) -> Optional[TypeInfo]: """Check if a call defines a namedtuple. The optional var_name argument is the name of the variable to which this is assigned, if any. If it does, return the corresponding TypeInfo. Return None otherwise. If the definition is invalid but looks like a namedtuple, report errors but return (some) TypeInfo. """ if not isinstance(node, CallExpr): return None call = node callee = call.callee if not isinstance(callee, RefExpr): return None fullname = callee.fullname if fullname == "collections.namedtuple": is_typed = False elif fullname == "typing.NamedTuple": is_typed = True else: return None items, types, defaults, ok = self.parse_namedtuple_args(call, fullname) if not ok: # Error. Construct dummy return value. if var_name: name = var_name else: name = "namedtuple@" + str(call.line) info = self.build_namedtuple_typeinfo(name, [], [], {}) self.store_namedtuple_info(info, name, call, is_typed) return info name = cast(StrExpr, call.args[0]).value if name != var_name or is_func_scope: # Give it a unique name derived from the line number. name += "@" + str(call.line) if len(defaults) > 0: default_items = { arg_name: default for arg_name, default in zip(items[-len(defaults) :], defaults) } else: default_items = {} info = self.build_namedtuple_typeinfo(name, items, types, default_items) # Store it as a global just in case it would remain anonymous. # (Or in the nearest class if there is one.) self.store_namedtuple_info(info, name, call, is_typed) return info
def check_namedtuple( self, node: Expression, var_name: Optional[str], is_func_scope: bool ) -> Optional[TypeInfo]: """Check if a call defines a namedtuple. The optional var_name argument is the name of the variable to which this is assigned, if any. If it does, return the corresponding TypeInfo. Return None otherwise. If the definition is invalid but looks like a namedtuple, report errors but return (some) TypeInfo. """ if not isinstance(node, CallExpr): return None call = node callee = call.callee if not isinstance(callee, RefExpr): return None fullname = callee.fullname if fullname == "collections.namedtuple": is_typed = False elif fullname == "typing.NamedTuple": is_typed = True else: return None items, types, defaults, ok = self.parse_namedtuple_args(call, fullname) if not ok: # Error. Construct dummy return value. return self.build_namedtuple_typeinfo("namedtuple", [], [], {}) name = cast(StrExpr, call.args[0]).value if name != var_name or is_func_scope: # Give it a unique name derived from the line number. name += "@" + str(call.line) if len(defaults) > 0: default_items = { arg_name: default for arg_name, default in zip(items[-len(defaults) :], defaults) } else: default_items = {} info = self.build_namedtuple_typeinfo(name, items, types, default_items) # Store it as a global just in case it would remain anonymous. # (Or in the nearest class if there is one.) stnode = SymbolTableNode(GDEF, info) self.api.add_symbol_table_node(name, stnode) call.analyzed = NamedTupleExpr(info, is_typed=is_typed) call.analyzed.set_line(call.line, call.column) return info
https://github.com/python/mypy/issues/4287
Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/main.py", line 119, in type_check_only options=options) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/build.py", line 212, in build graph = dispatch(sources, manager) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/build.py", line 1939, in dispatch process_graph(graph, manager) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/build.py", line 2219, in process_graph process_fresh_scc(graph, prev_scc, manager) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/build.py", line 2296, in process_fresh_scc graph[id].fix_cross_refs() File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/build.py", line 1656, in fix_cross_refs self.manager.options.quick_and_dirty) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py", line 22, in fixup_module_pass_one node_fixer.visit_symbol_table(tree.names) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py", line 84, in visit_symbol_table self.quick_and_dirty) File "/home/user/src/server/.mypy/venv/lib/python3.5/site-packages/mypy/fixup.py", line 284, in lookup_qualified_stnode assert key in names, "Cannot find %s for %s" % (key, name) AssertionError: Cannot find namedtuple for metaserver.lib.deletion_filter.namedtuple
AssertionError
def __init__(self, items: List["OverloadPart"]) -> None: super().__init__() assert len(items) > 0 self.items = items self.unanalyzed_items = items.copy() self.impl = None self.set_line(items[0].line)
def __init__(self, items: List["OverloadPart"]) -> None: super().__init__() assert len(items) > 0 self.items = items self.impl = None self.set_line(items[0].line)
https://github.com/python/mypy/issues/5181
..\probes\test.py:3: error: Name 'TypeVar' is not defined ..\probes\test.py:12: error: Name 'bar' already defined on line 8 ..\probes\test.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610+dev-89c73ed2462e18d217bbd73be09d5085ff7f2632 Traceback (most recent call last): File "C:\Python3.6\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Python3.6\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Michael\mypy\__main__.py", line 11, in <module> main(None) File "C:\Users\Michael\mypy\main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "C:\Users\Michael\mypy\main.py", line 148, in type_check_only fscache=fscache) File "C:\Users\Michael\mypy\build.py", line 181, in build flush_errors, fscache) File "C:\Users\Michael\mypy\build.py", line 286, in _build graph = dispatch(sources, manager) File "C:\Users\Michael\mypy\build.py", line 2440, in dispatch process_graph(graph, manager) File "C:\Users\Michael\mypy\build.py", line 2733, in process_graph process_stale_scc(graph, scc, manager) File "C:\Users\Michael\mypy\build.py", line 2845, in process_stale_scc graph[id].semantic_analysis_pass_three() File "C:\Users\Michael\mypy\build.py", line 2059, in semantic_analysis_pass_three self.options, patches) File "C:\Users\Michael\mypy\semanal_pass3.py", line 71, in visit_file self.accept(file_node) File "C:\Users\Michael\mypy\semanal_pass3.py", line 96, in accept node.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 246, in accept return visitor.visit_mypy_file(self) File "C:\Users\Michael\mypy\traverser.py", line 30, in visit_mypy_file d.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 432, in accept return visitor.visit_overloaded_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 117, in visit_overloaded_func_def super().visit_overloaded_func_def(fdef) File "C:\Users\Michael\mypy\traverser.py", line 55, in visit_overloaded_func_def o.impl.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 663, in accept return visitor.visit_decorator(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 170, in visit_decorator dec.func.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 586, in accept return visitor.visit_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 109, in visit_func_def self.analyze(fdef.type, fdef) File "C:\Users\Michael\mypy\semanal_pass3.py", line 380, in analyze type.accept(analyzer) File "C:\Users\Michael\mypy\types.py", line 797, in accept return visitor.visit_callable_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 760, in visit_callable_type t.ret_type.accept(self) File "C:\Users\Michael\mypy\types.py", line 1486, in accept return visitor.visit_forwardref_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 819, in visit_forwardref_type resolved = self.anal_type(t.unbound) File "C:\Users\Michael\mypy\typeanal.py", line 829, in anal_type res = tp.accept(tpan) File "C:\Users\Michael\mypy\types.py", line 204, in accept return visitor.visit_unbound_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 178, in visit_unbound_type typ = self.visit_unbound_type_nonoptional(t) File "C:\Users\Michael\mypy\typeanal.py", line 334, in visit_unbound_type_nonoptional self.fail('Invalid type "{}"'.format(name), t) File "C:\Users\Michael\mypy\typeanal.py", line 551, in fail self.fail_func(msg, ctx) File "C:\Users\Michael\mypy\semanal_pass3.py", line 468, in fail self.sem.fail(msg, ctx, serious, blocker=blocker) File "C:\Users\Michael\mypy\semanal.py", line 3281, in fail self.errors.report(ctx.get_line(), ctx.get_column(), msg, blocker=blocker) File "C:\Users\Michael\mypy\errors.py", line 247, in report function = self.scope.current_function_name() File "C:\Users\Michael\mypy\scope.py", line 50, in current_function_name return self.function.name() if self.function else None File "C:\Users\Michael\mypy\nodes.py", line 429, in name return self.items[0].name() IndexError: list index out of range ..\probes\test.py:1: : note: use --pdb to drop into pdb
IndexError
def name(self) -> str: if self.items: return self.items[0].name() else: # This may happen for malformed overload assert self.impl is not None return self.impl.name()
def name(self) -> str: return self.items[0].name()
https://github.com/python/mypy/issues/5181
..\probes\test.py:3: error: Name 'TypeVar' is not defined ..\probes\test.py:12: error: Name 'bar' already defined on line 8 ..\probes\test.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610+dev-89c73ed2462e18d217bbd73be09d5085ff7f2632 Traceback (most recent call last): File "C:\Python3.6\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Python3.6\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Michael\mypy\__main__.py", line 11, in <module> main(None) File "C:\Users\Michael\mypy\main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "C:\Users\Michael\mypy\main.py", line 148, in type_check_only fscache=fscache) File "C:\Users\Michael\mypy\build.py", line 181, in build flush_errors, fscache) File "C:\Users\Michael\mypy\build.py", line 286, in _build graph = dispatch(sources, manager) File "C:\Users\Michael\mypy\build.py", line 2440, in dispatch process_graph(graph, manager) File "C:\Users\Michael\mypy\build.py", line 2733, in process_graph process_stale_scc(graph, scc, manager) File "C:\Users\Michael\mypy\build.py", line 2845, in process_stale_scc graph[id].semantic_analysis_pass_three() File "C:\Users\Michael\mypy\build.py", line 2059, in semantic_analysis_pass_three self.options, patches) File "C:\Users\Michael\mypy\semanal_pass3.py", line 71, in visit_file self.accept(file_node) File "C:\Users\Michael\mypy\semanal_pass3.py", line 96, in accept node.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 246, in accept return visitor.visit_mypy_file(self) File "C:\Users\Michael\mypy\traverser.py", line 30, in visit_mypy_file d.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 432, in accept return visitor.visit_overloaded_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 117, in visit_overloaded_func_def super().visit_overloaded_func_def(fdef) File "C:\Users\Michael\mypy\traverser.py", line 55, in visit_overloaded_func_def o.impl.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 663, in accept return visitor.visit_decorator(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 170, in visit_decorator dec.func.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 586, in accept return visitor.visit_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 109, in visit_func_def self.analyze(fdef.type, fdef) File "C:\Users\Michael\mypy\semanal_pass3.py", line 380, in analyze type.accept(analyzer) File "C:\Users\Michael\mypy\types.py", line 797, in accept return visitor.visit_callable_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 760, in visit_callable_type t.ret_type.accept(self) File "C:\Users\Michael\mypy\types.py", line 1486, in accept return visitor.visit_forwardref_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 819, in visit_forwardref_type resolved = self.anal_type(t.unbound) File "C:\Users\Michael\mypy\typeanal.py", line 829, in anal_type res = tp.accept(tpan) File "C:\Users\Michael\mypy\types.py", line 204, in accept return visitor.visit_unbound_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 178, in visit_unbound_type typ = self.visit_unbound_type_nonoptional(t) File "C:\Users\Michael\mypy\typeanal.py", line 334, in visit_unbound_type_nonoptional self.fail('Invalid type "{}"'.format(name), t) File "C:\Users\Michael\mypy\typeanal.py", line 551, in fail self.fail_func(msg, ctx) File "C:\Users\Michael\mypy\semanal_pass3.py", line 468, in fail self.sem.fail(msg, ctx, serious, blocker=blocker) File "C:\Users\Michael\mypy\semanal.py", line 3281, in fail self.errors.report(ctx.get_line(), ctx.get_column(), msg, blocker=blocker) File "C:\Users\Michael\mypy\errors.py", line 247, in report function = self.scope.current_function_name() File "C:\Users\Michael\mypy\scope.py", line 50, in current_function_name return self.function.name() if self.function else None File "C:\Users\Michael\mypy\nodes.py", line 429, in name return self.items[0].name() IndexError: list index out of range ..\probes\test.py:1: : note: use --pdb to drop into pdb
IndexError
def _visit_overloaded_func_def(self, defn: OverloadedFuncDef) -> None: # OverloadedFuncDef refers to any legitimate situation where you have # more than one declaration for the same function in a row. This occurs # with a @property with a setter or a deleter, and for a classic # @overload. # Decide whether to analyze this as a property or an overload. If an # overload, and we're outside a stub, find the impl and set it. Remove # the impl from the item list, it's special. types = [] # type: List[CallableType] non_overload_indexes = [] # See if the first item is a property (and not an overload) first_item = defn.items[0] first_item.is_overload = True first_item.accept(self) defn._fullname = self.qualified_name(defn.name()) if isinstance(first_item, Decorator) and first_item.func.is_property: first_item.func.is_overload = True self.analyze_property_with_multi_part_definition(defn) typ = function_type(first_item.func, self.builtin_type("builtins.function")) assert isinstance(typ, CallableType) types = [typ] else: for i, item in enumerate(defn.items): if i != 0: # The first item was already visited item.is_overload = True item.accept(self) # TODO: support decorated overloaded functions properly if isinstance(item, Decorator): callable = function_type( item.func, self.builtin_type("builtins.function") ) assert isinstance(callable, CallableType) if not any( refers_to_fullname(dec, "typing.overload") for dec in item.decorators ): if i == len(defn.items) - 1 and not self.is_stub_file: # Last item outside a stub is impl defn.impl = item else: # Oops it wasn't an overload after all. A clear error # will vary based on where in the list it is, record # that. non_overload_indexes.append(i) else: item.func.is_overload = True types.append(callable) elif isinstance(item, FuncDef): if i == len(defn.items) - 1 and not self.is_stub_file: defn.impl = item else: non_overload_indexes.append(i) if non_overload_indexes: if types: # Some of them were overloads, but not all. for idx in non_overload_indexes: if self.is_stub_file: self.fail( "An implementation for an overloaded function " "is not allowed in a stub file", defn.items[idx], ) else: self.fail( "The implementation for an overloaded function " "must come last", defn.items[idx], ) else: for idx in non_overload_indexes[1:]: self.name_already_defined(defn.name(), defn.items[idx], first_item) if defn.impl: self.name_already_defined(defn.name(), defn.impl, first_item) # Remove the non-overloads for idx in reversed(non_overload_indexes): del defn.items[idx] # If we found an implementation, remove it from the overloads to # consider. if defn.impl is not None: assert defn.impl is defn.items[-1] defn.items = defn.items[:-1] elif not self.is_stub_file and not non_overload_indexes: if not (self.type and not self.is_func_scope() and self.type.is_protocol): self.fail( "An overloaded function outside a stub file must have an implementation", defn, ) else: for item in defn.items: if isinstance(item, Decorator): item.func.is_abstract = True else: item.is_abstract = True if types: defn.type = Overloaded(types) defn.type.line = defn.line if not defn.items: # It was not any kind of overload def after all. We've visited the # redefinitions already. return # We know this is an overload def -- let's handle classmethod and staticmethod class_status = [] static_status = [] for item in defn.items: if isinstance(item, Decorator): inner = item.func elif isinstance(item, FuncDef): inner = item else: assert False, "The 'item' variable is an unexpected type: {}".format( type(item) ) class_status.append(inner.is_class) static_status.append(inner.is_static) if defn.impl is not None: if isinstance(defn.impl, Decorator): inner = defn.impl.func elif isinstance(defn.impl, FuncDef): inner = defn.impl else: assert False, "Unexpected impl type: {}".format(type(defn.impl)) class_status.append(inner.is_class) static_status.append(inner.is_static) if len(set(class_status)) != 1: self.msg.overload_inconsistently_applies_decorator("classmethod", defn) elif len(set(static_status)) != 1: self.msg.overload_inconsistently_applies_decorator("staticmethod", defn) else: defn.is_class = class_status[0] defn.is_static = static_status[0] if self.type and not self.is_func_scope(): self.type.names[defn.name()] = SymbolTableNode(MDEF, defn) defn.info = self.type elif self.is_func_scope(): self.add_local(defn, defn)
def _visit_overloaded_func_def(self, defn: OverloadedFuncDef) -> None: # OverloadedFuncDef refers to any legitimate situation where you have # more than one declaration for the same function in a row. This occurs # with a @property with a setter or a deleter, and for a classic # @overload. # Decide whether to analyze this as a property or an overload. If an # overload, and we're outside a stub, find the impl and set it. Remove # the impl from the item list, it's special. types = [] # type: List[CallableType] non_overload_indexes = [] # See if the first item is a property (and not an overload) first_item = defn.items[0] first_item.is_overload = True first_item.accept(self) defn._fullname = self.qualified_name(defn.name()) if isinstance(first_item, Decorator) and first_item.func.is_property: first_item.func.is_overload = True self.analyze_property_with_multi_part_definition(defn) typ = function_type(first_item.func, self.builtin_type("builtins.function")) assert isinstance(typ, CallableType) types = [typ] else: for i, item in enumerate(defn.items): if i != 0: # The first item was already visited item.is_overload = True item.accept(self) # TODO support decorated overloaded functions properly if isinstance(item, Decorator): callable = function_type( item.func, self.builtin_type("builtins.function") ) assert isinstance(callable, CallableType) if not any( refers_to_fullname(dec, "typing.overload") for dec in item.decorators ): if i == len(defn.items) - 1 and not self.is_stub_file: # Last item outside a stub is impl defn.impl = item else: # Oops it wasn't an overload after all. A clear error # will vary based on where in the list it is, record # that. non_overload_indexes.append(i) else: item.func.is_overload = True types.append(callable) elif isinstance(item, FuncDef): if i == len(defn.items) - 1 and not self.is_stub_file: defn.impl = item else: non_overload_indexes.append(i) if non_overload_indexes: if types: # Some of them were overloads, but not all. for idx in non_overload_indexes: if self.is_stub_file: self.fail( "An implementation for an overloaded function " "is not allowed in a stub file", defn.items[idx], ) else: self.fail( "The implementation for an overloaded function " "must come last", defn.items[idx], ) else: for idx in non_overload_indexes[1:]: self.name_already_defined(defn.name(), defn.items[idx], first_item) if defn.impl: self.name_already_defined(defn.name(), defn.impl, first_item) # Remove the non-overloads for idx in reversed(non_overload_indexes): del defn.items[idx] # If we found an implementation, remove it from the overloads to # consider. if defn.impl is not None: assert defn.impl is defn.items[-1] defn.items = defn.items[:-1] elif not self.is_stub_file and not non_overload_indexes: if not (self.type and not self.is_func_scope() and self.type.is_protocol): self.fail( "An overloaded function outside a stub file must have an implementation", defn, ) else: for item in defn.items: if isinstance(item, Decorator): item.func.is_abstract = True else: item.is_abstract = True if types: defn.type = Overloaded(types) defn.type.line = defn.line if not defn.items: # It was not any kind of overload def after all. We've visited the # redefinitions already. return # We know this is an overload def -- let's handle classmethod and staticmethod class_status = [] static_status = [] for item in defn.items: if isinstance(item, Decorator): inner = item.func elif isinstance(item, FuncDef): inner = item else: assert False, "The 'item' variable is an unexpected type: {}".format( type(item) ) class_status.append(inner.is_class) static_status.append(inner.is_static) if defn.impl is not None: if isinstance(defn.impl, Decorator): inner = defn.impl.func elif isinstance(defn.impl, FuncDef): inner = defn.impl else: assert False, "Unexpected impl type: {}".format(type(defn.impl)) class_status.append(inner.is_class) static_status.append(inner.is_static) if len(set(class_status)) != 1: self.msg.overload_inconsistently_applies_decorator("classmethod", defn) elif len(set(static_status)) != 1: self.msg.overload_inconsistently_applies_decorator("staticmethod", defn) else: defn.is_class = class_status[0] defn.is_static = static_status[0] if self.type and not self.is_func_scope(): self.type.names[defn.name()] = SymbolTableNode(MDEF, defn) defn.info = self.type elif self.is_func_scope(): self.add_local(defn, defn)
https://github.com/python/mypy/issues/5181
..\probes\test.py:3: error: Name 'TypeVar' is not defined ..\probes\test.py:12: error: Name 'bar' already defined on line 8 ..\probes\test.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610+dev-89c73ed2462e18d217bbd73be09d5085ff7f2632 Traceback (most recent call last): File "C:\Python3.6\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Python3.6\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Michael\mypy\__main__.py", line 11, in <module> main(None) File "C:\Users\Michael\mypy\main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "C:\Users\Michael\mypy\main.py", line 148, in type_check_only fscache=fscache) File "C:\Users\Michael\mypy\build.py", line 181, in build flush_errors, fscache) File "C:\Users\Michael\mypy\build.py", line 286, in _build graph = dispatch(sources, manager) File "C:\Users\Michael\mypy\build.py", line 2440, in dispatch process_graph(graph, manager) File "C:\Users\Michael\mypy\build.py", line 2733, in process_graph process_stale_scc(graph, scc, manager) File "C:\Users\Michael\mypy\build.py", line 2845, in process_stale_scc graph[id].semantic_analysis_pass_three() File "C:\Users\Michael\mypy\build.py", line 2059, in semantic_analysis_pass_three self.options, patches) File "C:\Users\Michael\mypy\semanal_pass3.py", line 71, in visit_file self.accept(file_node) File "C:\Users\Michael\mypy\semanal_pass3.py", line 96, in accept node.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 246, in accept return visitor.visit_mypy_file(self) File "C:\Users\Michael\mypy\traverser.py", line 30, in visit_mypy_file d.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 432, in accept return visitor.visit_overloaded_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 117, in visit_overloaded_func_def super().visit_overloaded_func_def(fdef) File "C:\Users\Michael\mypy\traverser.py", line 55, in visit_overloaded_func_def o.impl.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 663, in accept return visitor.visit_decorator(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 170, in visit_decorator dec.func.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 586, in accept return visitor.visit_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 109, in visit_func_def self.analyze(fdef.type, fdef) File "C:\Users\Michael\mypy\semanal_pass3.py", line 380, in analyze type.accept(analyzer) File "C:\Users\Michael\mypy\types.py", line 797, in accept return visitor.visit_callable_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 760, in visit_callable_type t.ret_type.accept(self) File "C:\Users\Michael\mypy\types.py", line 1486, in accept return visitor.visit_forwardref_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 819, in visit_forwardref_type resolved = self.anal_type(t.unbound) File "C:\Users\Michael\mypy\typeanal.py", line 829, in anal_type res = tp.accept(tpan) File "C:\Users\Michael\mypy\types.py", line 204, in accept return visitor.visit_unbound_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 178, in visit_unbound_type typ = self.visit_unbound_type_nonoptional(t) File "C:\Users\Michael\mypy\typeanal.py", line 334, in visit_unbound_type_nonoptional self.fail('Invalid type "{}"'.format(name), t) File "C:\Users\Michael\mypy\typeanal.py", line 551, in fail self.fail_func(msg, ctx) File "C:\Users\Michael\mypy\semanal_pass3.py", line 468, in fail self.sem.fail(msg, ctx, serious, blocker=blocker) File "C:\Users\Michael\mypy\semanal.py", line 3281, in fail self.errors.report(ctx.get_line(), ctx.get_column(), msg, blocker=blocker) File "C:\Users\Michael\mypy\errors.py", line 247, in report function = self.scope.current_function_name() File "C:\Users\Michael\mypy\scope.py", line 50, in current_function_name return self.function.name() if self.function else None File "C:\Users\Michael\mypy\nodes.py", line 429, in name return self.items[0].name() IndexError: list index out of range ..\probes\test.py:1: : note: use --pdb to drop into pdb
IndexError
def visit_overloaded_func_def(self, node: OverloadedFuncDef) -> None: if not self.recurse_into_functions: return # Revert change made during semantic analysis pass 2. node.items = node.unanalyzed_items.copy() super().visit_overloaded_func_def(node)
def visit_overloaded_func_def(self, node: OverloadedFuncDef) -> None: if not self.recurse_into_functions: return if node.impl: # Revert change made during semantic analysis pass 2. assert node.items[-1] is not node.impl node.items.append(node.impl) super().visit_overloaded_func_def(node)
https://github.com/python/mypy/issues/5181
..\probes\test.py:3: error: Name 'TypeVar' is not defined ..\probes\test.py:12: error: Name 'bar' already defined on line 8 ..\probes\test.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610+dev-89c73ed2462e18d217bbd73be09d5085ff7f2632 Traceback (most recent call last): File "C:\Python3.6\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Python3.6\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Michael\mypy\__main__.py", line 11, in <module> main(None) File "C:\Users\Michael\mypy\main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "C:\Users\Michael\mypy\main.py", line 148, in type_check_only fscache=fscache) File "C:\Users\Michael\mypy\build.py", line 181, in build flush_errors, fscache) File "C:\Users\Michael\mypy\build.py", line 286, in _build graph = dispatch(sources, manager) File "C:\Users\Michael\mypy\build.py", line 2440, in dispatch process_graph(graph, manager) File "C:\Users\Michael\mypy\build.py", line 2733, in process_graph process_stale_scc(graph, scc, manager) File "C:\Users\Michael\mypy\build.py", line 2845, in process_stale_scc graph[id].semantic_analysis_pass_three() File "C:\Users\Michael\mypy\build.py", line 2059, in semantic_analysis_pass_three self.options, patches) File "C:\Users\Michael\mypy\semanal_pass3.py", line 71, in visit_file self.accept(file_node) File "C:\Users\Michael\mypy\semanal_pass3.py", line 96, in accept node.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 246, in accept return visitor.visit_mypy_file(self) File "C:\Users\Michael\mypy\traverser.py", line 30, in visit_mypy_file d.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 432, in accept return visitor.visit_overloaded_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 117, in visit_overloaded_func_def super().visit_overloaded_func_def(fdef) File "C:\Users\Michael\mypy\traverser.py", line 55, in visit_overloaded_func_def o.impl.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 663, in accept return visitor.visit_decorator(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 170, in visit_decorator dec.func.accept(self) File "C:\Users\Michael\mypy\nodes.py", line 586, in accept return visitor.visit_func_def(self) File "C:\Users\Michael\mypy\semanal_pass3.py", line 109, in visit_func_def self.analyze(fdef.type, fdef) File "C:\Users\Michael\mypy\semanal_pass3.py", line 380, in analyze type.accept(analyzer) File "C:\Users\Michael\mypy\types.py", line 797, in accept return visitor.visit_callable_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 760, in visit_callable_type t.ret_type.accept(self) File "C:\Users\Michael\mypy\types.py", line 1486, in accept return visitor.visit_forwardref_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 819, in visit_forwardref_type resolved = self.anal_type(t.unbound) File "C:\Users\Michael\mypy\typeanal.py", line 829, in anal_type res = tp.accept(tpan) File "C:\Users\Michael\mypy\types.py", line 204, in accept return visitor.visit_unbound_type(self) File "C:\Users\Michael\mypy\typeanal.py", line 178, in visit_unbound_type typ = self.visit_unbound_type_nonoptional(t) File "C:\Users\Michael\mypy\typeanal.py", line 334, in visit_unbound_type_nonoptional self.fail('Invalid type "{}"'.format(name), t) File "C:\Users\Michael\mypy\typeanal.py", line 551, in fail self.fail_func(msg, ctx) File "C:\Users\Michael\mypy\semanal_pass3.py", line 468, in fail self.sem.fail(msg, ctx, serious, blocker=blocker) File "C:\Users\Michael\mypy\semanal.py", line 3281, in fail self.errors.report(ctx.get_line(), ctx.get_column(), msg, blocker=blocker) File "C:\Users\Michael\mypy\errors.py", line 247, in report function = self.scope.current_function_name() File "C:\Users\Michael\mypy\scope.py", line 50, in current_function_name return self.function.name() if self.function else None File "C:\Users\Michael\mypy\nodes.py", line 429, in name return self.items[0].name() IndexError: list index out of range ..\probes\test.py:1: : note: use --pdb to drop into pdb
IndexError
def check_reverse_op_method( self, defn: FuncItem, reverse_type: CallableType, reverse_name: str, context: Context, ) -> None: """Check a reverse operator method such as __radd__.""" # Decides whether it's worth calling check_overlapping_op_methods(). # This used to check for some very obscure scenario. It now # just decides whether it's worth calling # check_overlapping_op_methods(). # First check for a valid signature method_type = CallableType( [AnyType(TypeOfAny.special_form), AnyType(TypeOfAny.special_form)], [nodes.ARG_POS, nodes.ARG_POS], [None, None], AnyType(TypeOfAny.special_form), self.named_type("builtins.function"), ) if not is_subtype(reverse_type, method_type): self.msg.invalid_signature(reverse_type, context) return if reverse_name in ("__eq__", "__ne__"): # These are defined for all objects => can't cause trouble. return # With 'Any' or 'object' return type we are happy, since any possible # return value is valid. ret_type = reverse_type.ret_type if isinstance(ret_type, AnyType): return if isinstance(ret_type, Instance): if ret_type.type.fullname() == "builtins.object": return if reverse_type.arg_kinds[0] == ARG_STAR: reverse_type = reverse_type.copy_modified( arg_types=[reverse_type.arg_types[0]] * 2, arg_kinds=[ARG_POS] * 2, arg_names=[reverse_type.arg_names[0], "_"], ) assert len(reverse_type.arg_types) >= 2 forward_name = nodes.normal_from_reverse_op[reverse_name] forward_inst = reverse_type.arg_types[1] if isinstance(forward_inst, TypeVarType): forward_inst = forward_inst.upper_bound if isinstance(forward_inst, (FunctionLike, TupleType, TypedDictType)): forward_inst = forward_inst.fallback if isinstance(forward_inst, TypeType): item = forward_inst.item if isinstance(item, Instance): opt_meta = item.type.metaclass_type if opt_meta is not None: forward_inst = opt_meta if not ( isinstance(forward_inst, (Instance, UnionType)) and forward_inst.has_readable_member(forward_name) ): return forward_base = reverse_type.arg_types[1] forward_type = self.expr_checker.analyze_external_member_access( forward_name, forward_base, context=defn ) self.check_overlapping_op_methods( reverse_type, reverse_name, defn.info, forward_type, forward_name, forward_base, context=defn, )
def check_reverse_op_method( self, defn: FuncItem, reverse_type: CallableType, reverse_name: str, context: Context, ) -> None: """Check a reverse operator method such as __radd__.""" # Decides whether it's worth calling check_overlapping_op_methods(). # This used to check for some very obscure scenario. It now # just decides whether it's worth calling # check_overlapping_op_methods(). # First check for a valid signature method_type = CallableType( [AnyType(TypeOfAny.special_form), AnyType(TypeOfAny.special_form)], [nodes.ARG_POS, nodes.ARG_POS], [None, None], AnyType(TypeOfAny.special_form), self.named_type("builtins.function"), ) if not is_subtype(reverse_type, method_type): self.msg.invalid_signature(reverse_type, context) return if reverse_name in ("__eq__", "__ne__"): # These are defined for all objects => can't cause trouble. return # With 'Any' or 'object' return type we are happy, since any possible # return value is valid. ret_type = reverse_type.ret_type if isinstance(ret_type, AnyType): return if isinstance(ret_type, Instance): if ret_type.type.fullname() == "builtins.object": return if reverse_type.arg_kinds[0] == ARG_STAR: reverse_type = reverse_type.copy_modified( arg_types=[reverse_type.arg_types[0]] * 2, arg_kinds=[ARG_POS] * 2, arg_names=[reverse_type.arg_names[0], "_"], ) assert len(reverse_type.arg_types) == 2 forward_name = nodes.normal_from_reverse_op[reverse_name] forward_inst = reverse_type.arg_types[1] if isinstance(forward_inst, TypeVarType): forward_inst = forward_inst.upper_bound if isinstance(forward_inst, (FunctionLike, TupleType, TypedDictType)): forward_inst = forward_inst.fallback if isinstance(forward_inst, TypeType): item = forward_inst.item if isinstance(item, Instance): opt_meta = item.type.metaclass_type if opt_meta is not None: forward_inst = opt_meta if not ( isinstance(forward_inst, (Instance, UnionType)) and forward_inst.has_readable_member(forward_name) ): return forward_base = reverse_type.arg_types[1] forward_type = self.expr_checker.analyze_external_member_access( forward_name, forward_base, context=defn ) self.check_overlapping_op_methods( reverse_type, reverse_name, defn.info, forward_type, forward_name, forward_base, context=defn, )
https://github.com/python/mypy/issues/5337
test_radd.py:2: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610 Traceback (most recent call last): ... ... File "/Users/sidharthkapur/.local/share/virtualenvs/mypy-test-VQzn8vfh/lib/python3.7/site-packages/mypy/checker.py", line 957, in check_reverse_op_method assert len(reverse_type.arg_types) == 2 AssertionError: test_radd.py:2: : note: use --pdb to drop into pdb
AssertionError
def visit_unbound_type(self, t: UnboundType) -> Type: # TODO: replace with an assert after UnboundType can't leak from semantic analysis. return AnyType(TypeOfAny.from_error)
def visit_unbound_type(self, t: UnboundType) -> Type: assert False, "Not supported"
https://github.com/python/mypy/issues/4543
tmp.py:3: error: Invalid type "tmp.Bad" tmp.py:13: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.570-dev-d2c04190b8d407476c535f30d07a9f6712e7b12a-dirty Traceback (most recent call last): File "/Users/ilevkivskyi/mypy/bin/mypy", line 11, in <module> load_entry_point('mypy===0.570-dev-d2c04190b8d407476c535f30d07a9f6712e7b12a-dirty', 'console_scripts', 'mypy')() File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/main.py", line 80, in main type_check_only(sources, bin_dir, options, flush_errors) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/main.py", line 129, in type_check_only flush_errors=flush_errors) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/build.py", line 172, in build result = _build(sources, options, alt_lib_path, bin_dir, saved_cache, flush_errors) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/build.py", line 258, in _build graph = dispatch(sources, manager) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/build.py", line 2048, in dispatch process_graph(graph, manager) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/build.py", line 2349, in process_graph process_stale_scc(graph, scc, manager) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/build.py", line 2525, in process_stale_scc graph[id].type_check_first_pass() File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/build.py", line 1923, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/checker.py", line 228, in check_first_pass self.accept(d) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/checker.py", line 323, in accept stmt.accept(self) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 928, in accept return visitor.visit_if_stmt(self) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/checker.py", line 2232, in visit_if_stmt if_map, else_map = self.find_isinstance_check(e) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/checker.py", line 2835, in find_isinstance_check return conditional_type_map(expr, vartype, type) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/checker.py", line 3191, in conditional_type_map remaining_type = restrict_subtype_away(current_type, proposed_precise_type) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/subtypes.py", line 817, in restrict_subtype_away new_items = [item for item in t.relevant_items() File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/subtypes.py", line 818, in <listcomp> if (not (is_proper_subtype(erase_type(item), erased_s) or File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/erasetype.py", line 25, in erase_type return typ.accept(EraseTypeVisitor()) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/types.py", line 194, in accept return visitor.visit_unbound_type(self) File "/Users/ilevkivskyi/mypy/lib/python3.6/site-packages/mypy/erasetype.py", line 31, in visit_unbound_type assert False, 'Not supported' AssertionError: Not supported
AssertionError
def check_for_missing_annotations(self, fdef: FuncItem) -> None: # Check for functions with unspecified/not fully specified types. def is_unannotated_any(t: Type) -> bool: return isinstance(t, AnyType) and t.type_of_any == TypeOfAny.unannotated has_explicit_annotation = isinstance(fdef.type, CallableType) and any( not is_unannotated_any(t) for t in fdef.type.arg_types + [fdef.type.ret_type] ) show_untyped = not self.is_typeshed_stub or self.options.warn_incomplete_stub check_incomplete_defs = ( self.options.disallow_incomplete_defs and has_explicit_annotation ) if show_untyped and (self.options.disallow_untyped_defs or check_incomplete_defs): if fdef.type is None and self.options.disallow_untyped_defs: self.fail(messages.FUNCTION_TYPE_EXPECTED, fdef) elif isinstance(fdef.type, CallableType): ret_type = fdef.type.ret_type if is_unannotated_any(ret_type): self.fail(messages.RETURN_TYPE_EXPECTED, fdef) elif fdef.is_generator: if is_unannotated_any( self.get_generator_return_type(ret_type, fdef.is_coroutine) ): self.fail(messages.RETURN_TYPE_EXPECTED, fdef) elif fdef.is_coroutine and isinstance(ret_type, Instance): if is_unannotated_any(self.get_coroutine_return_type(ret_type)): self.fail(messages.RETURN_TYPE_EXPECTED, fdef) if any(is_unannotated_any(t) for t in fdef.type.arg_types): self.fail(messages.ARGUMENT_TYPE_EXPECTED, fdef)
def check_for_missing_annotations(self, fdef: FuncItem) -> None: # Check for functions with unspecified/not fully specified types. def is_unannotated_any(t: Type) -> bool: return isinstance(t, AnyType) and t.type_of_any == TypeOfAny.unannotated has_explicit_annotation = isinstance(fdef.type, CallableType) and any( not is_unannotated_any(t) for t in fdef.type.arg_types + [fdef.type.ret_type] ) show_untyped = not self.is_typeshed_stub or self.options.warn_incomplete_stub check_incomplete_defs = ( self.options.disallow_incomplete_defs and has_explicit_annotation ) if show_untyped and (self.options.disallow_untyped_defs or check_incomplete_defs): if fdef.type is None and self.options.disallow_untyped_defs: self.fail(messages.FUNCTION_TYPE_EXPECTED, fdef) elif isinstance(fdef.type, CallableType): ret_type = fdef.type.ret_type if is_unannotated_any(ret_type): self.fail(messages.RETURN_TYPE_EXPECTED, fdef) elif ( fdef.is_coroutine and isinstance(ret_type, Instance) and is_unannotated_any(self.get_coroutine_return_type(ret_type)) ): self.fail(messages.RETURN_TYPE_EXPECTED, fdef) if any(is_unannotated_any(t) for t in fdef.type.arg_types): self.fail(messages.ARGUMENT_TYPE_EXPECTED, fdef)
https://github.com/python/mypy/issues/5122
$ mypy --show-traceback --disallow-untyped-defs bin/asyncg.py bin/asyncg.py:4: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.610+dev-c29210ea2f79f4017ec68435b5674d56e87c5105 Traceback (most recent call last): File "/Users/jzijlstra-mpbt/py/venvs/venv36/bin/mypy", line 11, in <module> load_entry_point('mypy', 'console_scripts', 'mypy')() File "/Users/jzijlstra-mpbt/py/mypy/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/jzijlstra-mpbt/py/mypy/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/Users/jzijlstra-mpbt/py/mypy/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/Users/jzijlstra-mpbt/py/mypy/mypy/build.py", line 185, in build flush_errors, fscache) File "/Users/jzijlstra-mpbt/py/mypy/mypy/build.py", line 285, in _build graph = dispatch(sources, manager) File "/Users/jzijlstra-mpbt/py/mypy/mypy/build.py", line 2398, in dispatch process_graph(graph, manager) File "/Users/jzijlstra-mpbt/py/mypy/mypy/build.py", line 2691, in process_graph process_stale_scc(graph, scc, manager) File "/Users/jzijlstra-mpbt/py/mypy/mypy/build.py", line 2807, in process_stale_scc graph[id].type_check_first_pass() File "/Users/jzijlstra-mpbt/py/mypy/mypy/build.py", line 2029, in type_check_first_pass self.type_checker().check_first_pass() File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 252, in check_first_pass self.accept(d) File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 351, in accept stmt.accept(self) File "/Users/jzijlstra-mpbt/py/mypy/mypy/nodes.py", line 586, in accept return visitor.visit_func_def(self) File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 654, in visit_func_def self._visit_func_def(defn) File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 658, in _visit_func_def self.check_func_item(defn, name=defn.name()) File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 720, in check_func_item self.check_func_def(defn, typ, name) File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 755, in check_func_def self.check_for_missing_annotations(fdef) File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 933, in check_for_missing_annotations is_unannotated_any(self.get_coroutine_return_type(ret_type))): File "/Users/jzijlstra-mpbt/py/mypy/mypy/checker.py", line 626, in get_coroutine_return_type return return_type.args[2] IndexError: list index out of range bin/asyncg.py:4: : note: use --pdb to drop into pdb
IndexError
def visit_func_def(self, defn: FuncDef) -> None: start_line = defn.get_line() - 1 start_indent = None # When a function is decorated, sometimes the start line will point to # whitespace or comments between the decorator and the function, so # we have to look for the start. while start_line < len(self.source): start_indent = self.indentation_level(start_line) if start_indent is not None: break start_line += 1 # If we can't find the function give up and don't annotate anything. # Our line numbers are not reliable enough to be asserting on. if start_indent is None: return cur_line = start_line + 1 end_line = cur_line # After this loop, function body will be lines [start_line, end_line) while cur_line < len(self.source): cur_indent = self.indentation_level(cur_line) if cur_indent is None: # Consume the line, but don't mark it as belonging to the function yet. cur_line += 1 elif start_indent is not None and cur_indent > start_indent: # A non-blank line that belongs to the function. cur_line += 1 end_line = cur_line else: # We reached a line outside the function definition. break is_typed = defn.type is not None for line in range(start_line, end_line): old_indent, _ = self.lines_covered[line] # If there was an old indent level for this line, and the new # level isn't increasing the indentation, ignore it. # This is to be defensive against funniness in our line numbers, # which are not always reliable. if old_indent <= start_indent: self.lines_covered[line] = (start_indent, is_typed) # Visit the body, in case there are nested functions super().visit_func_def(defn)
def visit_func_def(self, defn: FuncDef) -> None: start_line = defn.get_line() - 1 start_indent = self.indentation_level(start_line) cur_line = start_line + 1 end_line = cur_line # After this loop, function body will be lines [start_line, end_line) while cur_line < len(self.source): cur_indent = self.indentation_level(cur_line) if cur_indent is None: # Consume the line, but don't mark it as belonging to the function yet. cur_line += 1 elif start_indent is not None and cur_indent > start_indent: # A non-blank line that belongs to the function. cur_line += 1 end_line = cur_line else: # We reached a line outside the function definition. break is_typed = defn.type is not None for line in range(start_line, end_line): old_indent, _ = self.lines_covered[line] assert start_indent is not None and start_indent > old_indent self.lines_covered[line] = (start_indent, is_typed) # Visit the body, in case there are nested functions super().visit_func_def(defn)
https://github.com/python/mypy/issues/4563
zerver/templatetags/app_filters.py: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.560 Traceback (most recent call last): File "/srv/zulip-py3-venv/bin/mypy", line 11, in <module> sys.exit(console_entry()) File ".../site-packages/mypy/__main__.py", line 7, in console_entry main(None) File ".../site-packages/mypy/main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File ".../site-packages/mypy/main.py", line 119, in type_check_only options=options) File ".../site-packages/mypy/build.py", line 218, in build graph = dispatch(sources, manager) File ".../site-packages/mypy/build.py", line 1997, in dispatch process_graph(graph, manager) File ".../site-packages/mypy/build.py", line 2299, in process_graph process_stale_scc(graph, scc, manager) File ".../site-packages/mypy/build.py", line 2486, in process_stale_scc graph[id].finish_passes() File ".../site-packages/mypy/build.py", line 1912, in finish_passes manager.report_file(self.tree, self.type_map(), self.options) File "/usr/lib/python3.4/contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File ".../site-packages/mypy/build.py", line 1675, in wrap_context yield File ".../site-packages/mypy/build.py", line 1912, in finish_passes manager.report_file(self.tree, self.type_map(), self.options) File ".../site-packages/mypy/build.py", line 681, in report_file self.reports.file(file, type_map, options) File ".../site-packages/mypy/report.py", line 73, in file reporter.on_file(tree, type_map, options) File ".../site-packages/mypy/report.py", line 347, in on_file tree.accept(coverage_visitor) File ".../site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File ".../site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File ".../site-packages/mypy/nodes.py", line 573, in accept return visitor.visit_decorator(self) File ".../site-packages/mypy/traverser.py", line 64, in visit_decorator o.func.accept(self) File ".../site-packages/mypy/nodes.py", line 497, in accept return visitor.visit_func_def(self) File ".../site-packages/mypy/report.py", line 317, in visit_func_def assert start_indent is not None and start_indent > old_indent AssertionError: zerver/templatetags/app_filters.py: : note: use --pdb to drop into pdb
AssertionError
def attr_class_maker_callback( ctx: "mypy.plugin.ClassDefContext", auto_attribs_default: bool = False ) -> None: """Add necessary dunder methods to classes decorated with attr.s. attrs is a package that lets you define classes without writing dull boilerplate code. At a quick glance, the decorator searches the class body for assignments of `attr.ib`s (or annotated variables if auto_attribs=True), then depending on how the decorator is called, it will add an __init__ or all the __cmp__ methods. For frozen=True it will turn the attrs into properties. See http://www.attrs.org/en/stable/how-does-it-work.html for information on how attrs works. """ info = ctx.cls.info init = _get_decorator_bool_argument(ctx, "init", True) frozen = _get_frozen(ctx) cmp = _get_decorator_bool_argument(ctx, "cmp", True) auto_attribs = _get_decorator_bool_argument( ctx, "auto_attribs", auto_attribs_default ) if ctx.api.options.python_version[0] < 3: if auto_attribs: ctx.api.fail("auto_attribs is not supported in Python 2", ctx.reason) return if not info.defn.base_type_exprs: # Note: This will not catch subclassing old-style classes. ctx.api.fail("attrs only works with new-style classes", info.defn) return attributes = _analyze_class(ctx, auto_attribs) # Save the attributes so that subclasses can reuse them. ctx.cls.info.metadata["attrs"] = { "attributes": [attr.serialize() for attr in attributes], "frozen": frozen, } adder = MethodAdder(info, ctx.api.named_type("__builtins__.function")) if init: _add_init(ctx, attributes, adder) if cmp: _add_cmp(ctx, adder) if frozen: _make_frozen(ctx, attributes)
def attr_class_maker_callback( ctx: "mypy.plugin.ClassDefContext", auto_attribs_default: bool = False ) -> None: """Add necessary dunder methods to classes decorated with attr.s. attrs is a package that lets you define classes without writing dull boilerplate code. At a quick glance, the decorator searches the class body for assignments of `attr.ib`s (or annotated variables if auto_attribs=True), then depending on how the decorator is called, it will add an __init__ or all the __cmp__ methods. For frozen=True it will turn the attrs into properties. See http://www.attrs.org/en/stable/how-does-it-work.html for information on how attrs works. """ info = ctx.cls.info init = _get_decorator_bool_argument(ctx, "init", True) frozen = _get_decorator_bool_argument(ctx, "frozen", False) cmp = _get_decorator_bool_argument(ctx, "cmp", True) auto_attribs = _get_decorator_bool_argument( ctx, "auto_attribs", auto_attribs_default ) if ctx.api.options.python_version[0] < 3: if auto_attribs: ctx.api.fail("auto_attribs is not supported in Python 2", ctx.reason) return if not info.defn.base_type_exprs: # Note: This will not catch subclassing old-style classes. ctx.api.fail("attrs only works with new-style classes", info.defn) return attributes = _analyze_class(ctx, auto_attribs) adder = MethodAdder(info, ctx.api.named_type("__builtins__.function")) if init: _add_init(ctx, attributes, adder) if cmp: _add_cmp(ctx, adder) if frozen: _make_frozen(ctx, attributes)
https://github.com/python/mypy/issues/4655
thing = B(foo=1, bar='hi', baz='bye') thing.foo = 2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jliu/Projects/lyft/coupons/venv/lib/python3.6/site-packages/attr/_make.py", line 351, in _frozen_setattrs raise FrozenInstanceError() attr.exceptions.FrozenInstanceError
FrozenInstanceError
def _analyze_class( ctx: "mypy.plugin.ClassDefContext", auto_attribs: bool ) -> List[Attribute]: """Analyze the class body of an attr maker, its parents, and return the Attributes found.""" own_attrs = OrderedDict() # type: OrderedDict[str, Attribute] # Walk the body looking for assignments and decorators. for stmt in ctx.cls.defs.body: if isinstance(stmt, AssignmentStmt): for attr in _attributes_from_assignment(ctx, stmt, auto_attribs): # When attrs are defined twice in the same body we want to use the 2nd definition # in the 2nd location. So remove it from the OrderedDict. # Unless it's auto_attribs in which case we want the 2nd definition in the # 1st location. if not auto_attribs and attr.name in own_attrs: del own_attrs[attr.name] own_attrs[attr.name] = attr elif isinstance(stmt, Decorator): _cleanup_decorator(stmt, own_attrs) for attribute in own_attrs.values(): # Even though these look like class level assignments we want them to look like # instance level assignments. if attribute.name in ctx.cls.info.names: node = ctx.cls.info.names[attribute.name].node assert isinstance(node, Var) node.is_initialized_in_class = False # Traverse the MRO and collect attributes from the parents. taken_attr_names = set(own_attrs) super_attrs = [] for super_info in ctx.cls.info.mro[1:-1]: if "attrs" in super_info.metadata: for data in super_info.metadata["attrs"]["attributes"]: # Only add an attribute if it hasn't been defined before. This # allows for overwriting attribute definitions by subclassing. if data["name"] not in taken_attr_names: a = Attribute.deserialize(super_info, data) super_attrs.append(a) taken_attr_names.add(a.name) attributes = super_attrs + list(own_attrs.values()) # Check the init args for correct default-ness. Note: This has to be done after all the # attributes for all classes have been read, because subclasses can override parents. last_default = False for attribute in attributes: if attribute.init and not attribute.has_default and last_default: ctx.api.fail( "Non-default attributes not allowed after default attributes.", attribute.context, ) last_default = attribute.has_default return attributes
def _analyze_class( ctx: "mypy.plugin.ClassDefContext", auto_attribs: bool ) -> List[Attribute]: """Analyze the class body of an attr maker, its parents, and return the Attributes found.""" own_attrs = OrderedDict() # type: OrderedDict[str, Attribute] # Walk the body looking for assignments and decorators. for stmt in ctx.cls.defs.body: if isinstance(stmt, AssignmentStmt): for attr in _attributes_from_assignment(ctx, stmt, auto_attribs): # When attrs are defined twice in the same body we want to use the 2nd definition # in the 2nd location. So remove it from the OrderedDict. # Unless it's auto_attribs in which case we want the 2nd definition in the # 1st location. if not auto_attribs and attr.name in own_attrs: del own_attrs[attr.name] own_attrs[attr.name] = attr elif isinstance(stmt, Decorator): _cleanup_decorator(stmt, own_attrs) # Traverse the MRO and collect attributes from the parents. taken_attr_names = set(own_attrs) super_attrs = [] for super_info in ctx.cls.info.mro[1:-1]: if "attrs" in super_info.metadata: for data in super_info.metadata["attrs"]["attributes"]: # Only add an attribute if it hasn't been defined before. This # allows for overwriting attribute definitions by subclassing. if data["name"] not in taken_attr_names: a = Attribute.deserialize(super_info, data) super_attrs.append(a) taken_attr_names.add(a.name) attributes = super_attrs + list(own_attrs.values()) # Save the attributes so that subclasses can reuse them. ctx.cls.info.metadata["attrs"] = { "attributes": [attr.serialize() for attr in attributes] } # Check the init args for correct default-ness. Note: This has to be done after all the # attributes for all classes have been read, because subclasses can override parents. last_default = False for attribute in attributes: if attribute.init and not attribute.has_default and last_default: ctx.api.fail( "Non-default attributes not allowed after default attributes.", attribute.context, ) last_default = attribute.has_default return attributes
https://github.com/python/mypy/issues/4655
thing = B(foo=1, bar='hi', baz='bye') thing.foo = 2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jliu/Projects/lyft/coupons/venv/lib/python3.6/site-packages/attr/_make.py", line 351, in _frozen_setattrs raise FrozenInstanceError() attr.exceptions.FrozenInstanceError
FrozenInstanceError
def _make_frozen( ctx: "mypy.plugin.ClassDefContext", attributes: List[Attribute] ) -> None: """Turn all the attributes into properties to simulate frozen classes.""" for attribute in attributes: if attribute.name in ctx.cls.info.names: # This variable belongs to this class so we can modify it. node = ctx.cls.info.names[attribute.name].node assert isinstance(node, Var) node.is_property = True else: # This variable belongs to a super class so create new Var so we # can modify it. var = Var(attribute.name, ctx.cls.info[attribute.name].type) var.info = ctx.cls.info var._fullname = "%s.%s" % (ctx.cls.info.fullname(), var.name()) ctx.cls.info.names[var.name()] = SymbolTableNode(MDEF, var) var.is_property = True
def _make_frozen( ctx: "mypy.plugin.ClassDefContext", attributes: List[Attribute] ) -> None: """Turn all the attributes into properties to simulate frozen classes.""" # TODO: Handle subclasses of frozen classes. for attribute in attributes: node = ctx.cls.info.names[attribute.name].node assert isinstance(node, Var) node.is_initialized_in_class = False node.is_property = True
https://github.com/python/mypy/issues/4655
thing = B(foo=1, bar='hi', baz='bye') thing.foo = 2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jliu/Projects/lyft/coupons/venv/lib/python3.6/site-packages/attr/_make.py", line 351, in _frozen_setattrs raise FrozenInstanceError() attr.exceptions.FrozenInstanceError
FrozenInstanceError
def check_reverse_op_method( self, defn: FuncItem, reverse_type: CallableType, reverse_name: str, context: Context, ) -> None: """Check a reverse operator method such as __radd__.""" # Decides whether it's worth calling check_overlapping_op_methods(). # This used to check for some very obscure scenario. It now # just decides whether it's worth calling # check_overlapping_op_methods(). # First check for a valid signature method_type = CallableType( [AnyType(TypeOfAny.special_form), AnyType(TypeOfAny.special_form)], [nodes.ARG_POS, nodes.ARG_POS], [None, None], AnyType(TypeOfAny.special_form), self.named_type("builtins.function"), ) if not is_subtype(reverse_type, method_type): self.msg.invalid_signature(reverse_type, context) return if reverse_name in ("__eq__", "__ne__"): # These are defined for all objects => can't cause trouble. return # With 'Any' or 'object' return type we are happy, since any possible # return value is valid. ret_type = reverse_type.ret_type if isinstance(ret_type, AnyType): return if isinstance(ret_type, Instance): if ret_type.type.fullname() == "builtins.object": return if reverse_type.arg_kinds[0] == ARG_STAR: reverse_type = reverse_type.copy_modified( arg_types=[reverse_type.arg_types[0]] * 2, arg_kinds=[ARG_POS] * 2, arg_names=[reverse_type.arg_names[0], "_"], ) assert len(reverse_type.arg_types) == 2 forward_name = nodes.normal_from_reverse_op[reverse_name] forward_inst = reverse_type.arg_types[1] if isinstance(forward_inst, TypeVarType): forward_inst = forward_inst.upper_bound if isinstance(forward_inst, (FunctionLike, TupleType, TypedDictType)): forward_inst = forward_inst.fallback if isinstance(forward_inst, TypeType): item = forward_inst.item if isinstance(item, Instance): opt_meta = item.type.metaclass_type if opt_meta is not None: forward_inst = opt_meta if not ( isinstance(forward_inst, (Instance, UnionType)) and forward_inst.has_readable_member(forward_name) ): return forward_base = reverse_type.arg_types[1] forward_type = self.expr_checker.analyze_external_member_access( forward_name, forward_base, context=defn ) self.check_overlapping_op_methods( reverse_type, reverse_name, defn.info, forward_type, forward_name, forward_base, context=defn, )
def check_reverse_op_method( self, defn: FuncItem, typ: CallableType, method: str, context: Context ) -> None: """Check a reverse operator method such as __radd__.""" # This used to check for some very obscure scenario. It now # just decides whether it's worth calling # check_overlapping_op_methods(). # First check for a valid signature method_type = CallableType( [AnyType(TypeOfAny.special_form), AnyType(TypeOfAny.special_form)], [nodes.ARG_POS, nodes.ARG_POS], [None, None], AnyType(TypeOfAny.special_form), self.named_type("builtins.function"), ) if not is_subtype(typ, method_type): self.msg.invalid_signature(typ, context) return if method in ("__eq__", "__ne__"): # These are defined for all objects => can't cause trouble. return # With 'Any' or 'object' return type we are happy, since any possible # return value is valid. ret_type = typ.ret_type if isinstance(ret_type, AnyType): return if isinstance(ret_type, Instance): if ret_type.type.fullname() == "builtins.object": return if len(typ.arg_types) == 2: # TODO check self argument kind # Check for the issue described above. arg_type = typ.arg_types[1] other_method = nodes.normal_from_reverse_op[method] if isinstance(arg_type, Instance): if not arg_type.type.has_readable_member(other_method): return elif isinstance(arg_type, AnyType): return elif isinstance(arg_type, UnionType): if not arg_type.has_readable_member(other_method): return else: return typ2 = self.expr_checker.analyze_external_member_access( other_method, arg_type, defn ) self.check_overlapping_op_methods( typ, method, defn.info, typ2, other_method, cast(Instance, arg_type), defn )
https://github.com/python/mypy/issues/3468
third_party/3/pyspark/sql/column.pyi:24: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.511 Traceback (most recent call last): File "/home/user/anaconda3/bin/mypy", line 6, in <module> main(__file__) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/main.py", line 46, in main res = type_check_only(sources, bin_dir, options) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/main.py", line 93, in type_check_only options=options) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 188, in build graph = dispatch(sources, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1595, in dispatch process_graph(graph, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1838, in process_graph process_stale_scc(graph, scc, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1937, in process_stale_scc graph[id].type_check_first_pass() File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1510, in type_check_first_pass self.type_checker.check_first_pass() File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 177, in check_first_pass self.accept(d) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_class_def(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 1080, in visit_class_def self.accept(defn.defs) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 811, in accept return visitor.visit_block(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 1173, in visit_block self.accept(s) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 510, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 569, in check_func_item self.check_func_def(defn, typ, name) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 616, in check_func_def self.check_reverse_op_method(item, typ, name) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 806, in check_reverse_op_method defn) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 876, in check_overlapping_op_methods forward_base.type.name(), forward_name, context) AttributeError: 'UnionType' object has no attribute 'type' third_party/3/pyspark/sql/column.pyi:24: note: use --pdb to drop into pdb
AttributeError
def check_overlapping_op_methods( self, reverse_type: CallableType, reverse_name: str, reverse_class: TypeInfo, forward_type: Type, forward_name: str, forward_base: Type, context: Context, ) -> None: """Check for overlapping method and reverse method signatures. Assume reverse method has valid argument count and kinds. """ # Reverse operator method that overlaps unsafely with the # forward operator method can result in type unsafety. This is # similar to overlapping overload variants. # # This example illustrates the issue: # # class X: pass # class A: # def __add__(self, x: X) -> int: # if isinstance(x, X): # return 1 # return NotImplemented # class B: # def __radd__(self, x: A) -> str: return 'x' # class C(X, B): pass # def f(b: B) -> None: # A() + b # Result is 1, even though static type seems to be str! # f(C()) # # The reason for the problem is that B and X are overlapping # types, and the return types are different. Also, if the type # of x in __radd__ would not be A, the methods could be # non-overlapping. for forward_item in union_items(forward_type): if isinstance(forward_item, CallableType): # TODO check argument kinds if len(forward_item.arg_types) < 1: # Not a valid operator method -- can't succeed anyway. return # Construct normalized function signatures corresponding to the # operator methods. The first argument is the left operand and the # second operand is the right argument -- we switch the order of # the arguments of the reverse method. forward_tweaked = CallableType( [forward_base, forward_item.arg_types[0]], [nodes.ARG_POS] * 2, [None] * 2, forward_item.ret_type, forward_item.fallback, name=forward_item.name, ) reverse_args = reverse_type.arg_types reverse_tweaked = CallableType( [reverse_args[1], reverse_args[0]], [nodes.ARG_POS] * 2, [None] * 2, reverse_type.ret_type, fallback=self.named_type("builtins.function"), name=reverse_type.name, ) if is_unsafe_overlapping_signatures(forward_tweaked, reverse_tweaked): self.msg.operator_method_signatures_overlap( reverse_class, reverse_name, forward_base, forward_name, context ) elif isinstance(forward_item, Overloaded): for item in forward_item.items(): self.check_overlapping_op_methods( reverse_type, reverse_name, reverse_class, item, forward_name, forward_base, context, ) elif not isinstance(forward_item, AnyType): self.msg.forward_operator_not_callable(forward_name, context)
def check_overlapping_op_methods( self, reverse_type: CallableType, reverse_name: str, reverse_class: TypeInfo, forward_type: Type, forward_name: str, forward_base: Instance, context: Context, ) -> None: """Check for overlapping method and reverse method signatures. Assume reverse method has valid argument count and kinds. """ # Reverse operator method that overlaps unsafely with the # forward operator method can result in type unsafety. This is # similar to overlapping overload variants. # # This example illustrates the issue: # # class X: pass # class A: # def __add__(self, x: X) -> int: # if isinstance(x, X): # return 1 # return NotImplemented # class B: # def __radd__(self, x: A) -> str: return 'x' # class C(X, B): pass # def f(b: B) -> None: # A() + b # Result is 1, even though static type seems to be str! # f(C()) # # The reason for the problem is that B and X are overlapping # types, and the return types are different. Also, if the type # of x in __radd__ would not be A, the methods could be # non-overlapping. for forward_item in union_items(forward_type): if isinstance(forward_item, CallableType): # TODO check argument kinds if len(forward_item.arg_types) < 1: # Not a valid operator method -- can't succeed anyway. return # Construct normalized function signatures corresponding to the # operator methods. The first argument is the left operand and the # second operand is the right argument -- we switch the order of # the arguments of the reverse method. forward_tweaked = CallableType( [forward_base, forward_item.arg_types[0]], [nodes.ARG_POS] * 2, [None] * 2, forward_item.ret_type, forward_item.fallback, name=forward_item.name, ) reverse_args = reverse_type.arg_types reverse_tweaked = CallableType( [reverse_args[1], reverse_args[0]], [nodes.ARG_POS] * 2, [None] * 2, reverse_type.ret_type, fallback=self.named_type("builtins.function"), name=reverse_type.name, ) if is_unsafe_overlapping_signatures(forward_tweaked, reverse_tweaked): self.msg.operator_method_signatures_overlap( reverse_class.name(), reverse_name, forward_base.type.name(), forward_name, context, ) elif isinstance(forward_item, Overloaded): for item in forward_item.items(): self.check_overlapping_op_methods( reverse_type, reverse_name, reverse_class, item, forward_name, forward_base, context, ) elif not isinstance(forward_item, AnyType): self.msg.forward_operator_not_callable(forward_name, context)
https://github.com/python/mypy/issues/3468
third_party/3/pyspark/sql/column.pyi:24: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.511 Traceback (most recent call last): File "/home/user/anaconda3/bin/mypy", line 6, in <module> main(__file__) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/main.py", line 46, in main res = type_check_only(sources, bin_dir, options) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/main.py", line 93, in type_check_only options=options) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 188, in build graph = dispatch(sources, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1595, in dispatch process_graph(graph, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1838, in process_graph process_stale_scc(graph, scc, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1937, in process_stale_scc graph[id].type_check_first_pass() File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1510, in type_check_first_pass self.type_checker.check_first_pass() File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 177, in check_first_pass self.accept(d) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_class_def(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 1080, in visit_class_def self.accept(defn.defs) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 811, in accept return visitor.visit_block(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 1173, in visit_block self.accept(s) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 510, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 569, in check_func_item self.check_func_def(defn, typ, name) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 616, in check_func_def self.check_reverse_op_method(item, typ, name) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 806, in check_reverse_op_method defn) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 876, in check_overlapping_op_methods forward_base.type.name(), forward_name, context) AttributeError: 'UnionType' object has no attribute 'type' third_party/3/pyspark/sql/column.pyi:24: note: use --pdb to drop into pdb
AttributeError
def operator_method_signatures_overlap( self, reverse_class: TypeInfo, reverse_method: str, forward_class: Type, forward_method: str, context: Context, ) -> None: self.fail( 'Signatures of "{}" of "{}" and "{}" of {} are unsafely overlapping'.format( reverse_method, reverse_class.name(), forward_method, self.format(forward_class), ), context, )
def operator_method_signatures_overlap( self, reverse_class: str, reverse_method: str, forward_class: str, forward_method: str, context: Context, ) -> None: self.fail( 'Signatures of "{}" of "{}" and "{}" of "{}" are unsafely overlapping'.format( reverse_method, reverse_class, forward_method, forward_class ), context, )
https://github.com/python/mypy/issues/3468
third_party/3/pyspark/sql/column.pyi:24: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.511 Traceback (most recent call last): File "/home/user/anaconda3/bin/mypy", line 6, in <module> main(__file__) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/main.py", line 46, in main res = type_check_only(sources, bin_dir, options) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/main.py", line 93, in type_check_only options=options) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 188, in build graph = dispatch(sources, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1595, in dispatch process_graph(graph, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1838, in process_graph process_stale_scc(graph, scc, manager) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1937, in process_stale_scc graph[id].type_check_first_pass() File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/build.py", line 1510, in type_check_first_pass self.type_checker.check_first_pass() File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 177, in check_first_pass self.accept(d) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_class_def(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 1080, in visit_class_def self.accept(defn.defs) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 811, in accept return visitor.visit_block(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 1173, in visit_block self.accept(s) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 264, in accept stmt.accept(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 510, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 569, in check_func_item self.check_func_def(defn, typ, name) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 616, in check_func_def self.check_reverse_op_method(item, typ, name) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 806, in check_reverse_op_method defn) File "/home/user/anaconda3/lib/python3.5/site-packages/mypy/checker.py", line 876, in check_overlapping_op_methods forward_base.type.name(), forward_name, context) AttributeError: 'UnionType' object has no attribute 'type' third_party/3/pyspark/sql/column.pyi:24: note: use --pdb to drop into pdb
AttributeError
def process_type_info(self, info: Optional[TypeInfo]) -> None: if info is None: return # TODO: Additional things: # - declared_metaclass # - metaclass_type # - _promote # - typeddict_type # - replaced replace_nodes_in_symbol_table(info.names, self.replacements) for i, item in enumerate(info.mro): info.mro[i] = self.fixup(info.mro[i]) for i, base in enumerate(info.bases): self.fixup_type(info.bases[i]) if info.tuple_type: self.fixup_type(info.tuple_type)
def process_type_info(self, info: TypeInfo) -> None: # TODO: Additional things: # - declared_metaclass # - metaclass_type # - _promote # - typeddict_type # - replaced replace_nodes_in_symbol_table(info.names, self.replacements) for i, item in enumerate(info.mro): info.mro[i] = self.fixup(info.mro[i]) for i, base in enumerate(info.bases): self.fixup_type(info.bases[i]) if info.tuple_type: self.fixup_type(info.tuple_type)
https://github.com/python/mypy/issues/4596
Traceback (most recent call last): File "[somewhere]/mypy/dmypy_server.py", line 135, in serve resp = self.run_command(command, data) File "[somewhere]/mypy/dmypy_server.py", line 169, in run_command return method(self, **data) File "[somewhere]/mypy/dmypy_server.py", line 200, in cmd_check return self.check(self.last_sources) File "[somewhere]/mypy/dmypy_server.py", line 214, in check return self.check_fine_grained(sources) File "[somewhere]/mypy/dmypy_server.py", line 246, in check_fine_grained return self.initialize_fine_grained(sources) File "[somewhere]/mypy/dmypy_server.py", line 291, in initialize_fine_grained messages = self.fine_grained_manager.update(changed) File "[somewhere]/mypy/server/update.py", line 222, in update result = self.update_single(next_id, next_path) File "[somewhere]/mypy/server/update.py", line 264, in update_single result = update_single_isolated(module, path, manager, previous_modules) File "[somewhere]/mypy/server/update.py", line 437, in update_single_isolated replace_modules_with_new_variants(manager, graph, old_modules, new_modules) File "[somewhere]/mypy/server/update.py", line 702, in replace_modules_with_new_variants new_module, new_module.names) File "[somewhere]/mypy/server/astmerge.py", line 85, in merge_asts node = replace_nodes_in_ast(new, replacement_map) File "[somewhere]/mypy/server/astmerge.py", line 130, in replace_nodes_in_ast node.accept(visitor) File "[somewhere]/mypy/nodes.py", line 230, in accept return visitor.visit_mypy_file(self) File "[somewhere]/mypy/server/astmerge.py", line 151, in visit_mypy_file super().visit_mypy_file(node) File "[somewhere]/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "[somewhere]/mypy/nodes.py", line 931, in accept return visitor.visit_if_stmt(self) File "[somewhere]/mypy/traverser.py", line 114, in visit_if_stmt o.else_body.accept(self) File "[somewhere]/mypy/nodes.py", line 766, in accept return visitor.visit_block(self) File "[somewhere]/mypy/server/astmerge.py", line 154, in visit_block super().visit_block(node) File "[somewhere]/mypy/traverser.py", line 34, in visit_block s.accept(self) File "[somewhere]/mypy/nodes.py", line 704, in accept return visitor.visit_class_def(self) File "[somewhere]/mypy/server/astmerge.py", line 176, in visit_class_def self.process_type_info(node.info) File "[somewhere]/mypy/server/astmerge.py", line 264, in process_type_info replace_nodes_in_symbol_table(info.names, self.replacements) AttributeError: 'NoneType' object has no attribute 'names'
AttributeError
def semantic_analysis(self) -> None: assert self.tree is not None, ( "Internal error: method must be called on parsed file only" ) patches = [] # type: List[Tuple[int, Callable[[], None]]] with self.wrap_context(): self.manager.semantic_analyzer.visit_file( self.tree, self.xpath, self.options, patches ) self.patches = patches
def semantic_analysis(self) -> None: assert self.tree is not None, ( "Internal error: method must be called on parsed file only" ) patches = [] # type: List[Callable[[], None]] with self.wrap_context(): self.manager.semantic_analyzer.visit_file( self.tree, self.xpath, self.options, patches ) self.patches = patches
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def semantic_analysis_pass_three(self) -> None: assert self.tree is not None, ( "Internal error: method must be called on parsed file only" ) patches = [] # type: List[Tuple[int, Callable[[], None]]] with self.wrap_context(): self.manager.semantic_analyzer_pass3.visit_file( self.tree, self.xpath, self.options, patches ) if self.options.dump_type_stats: dump_type_stats(self.tree, self.xpath) self.patches = patches + self.patches
def semantic_analysis_pass_three(self) -> None: assert self.tree is not None, ( "Internal error: method must be called on parsed file only" ) patches = [] # type: List[Callable[[], None]] with self.wrap_context(): self.manager.semantic_analyzer_pass3.visit_file( self.tree, self.xpath, self.options, patches ) if self.options.dump_type_stats: dump_type_stats(self.tree, self.xpath) self.patches = patches + self.patches
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def semantic_analysis_apply_patches(self) -> None: patches_by_priority = sorted(self.patches, key=lambda x: x[0]) for priority, patch_func in patches_by_priority: patch_func()
def semantic_analysis_apply_patches(self) -> None: for patch_func in self.patches: patch_func()
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def visit_file( self, file_node: MypyFile, fnam: str, options: Options, patches: List[Tuple[int, Callable[[], None]]], ) -> None: """Run semantic analysis phase 2 over a file. Add (priority, callback) pairs by mutating the 'patches' list argument. They will be called after all semantic analysis phases but before type checking, lowest priority values first. """ self.recurse_into_functions = True self.options = options self.errors.set_file(fnam, file_node.fullname()) self.cur_mod_node = file_node self.cur_mod_id = file_node.fullname() self.is_stub_file = fnam.lower().endswith(".pyi") self.is_typeshed_stub_file = self.errors.is_typeshed_file(file_node.path) self.globals = file_node.names self.patches = patches with experiments.strict_optional_set(options.strict_optional): if "builtins" in self.modules: self.globals["__builtins__"] = SymbolTableNode( MODULE_REF, self.modules["builtins"] ) for name in implicit_module_attrs: v = self.globals[name].node if isinstance(v, Var): assert v.type is not None, "Type of implicit attribute not set" v.type = self.anal_type(v.type) v.is_ready = True defs = file_node.defs for d in defs: self.accept(d) if self.cur_mod_id == "builtins": remove_imported_names_from_symtable(self.globals, "builtins") for alias_name in type_aliases: self.globals.pop(alias_name.split(".")[-1], None) if "__all__" in self.globals: for name, g in self.globals.items(): if name not in self.all_exports: g.module_public = False del self.options del self.patches
def visit_file( self, file_node: MypyFile, fnam: str, options: Options, patches: List[Callable[[], None]], ) -> None: """Run semantic analysis phase 2 over a file. Add callbacks by mutating the patches list argument. They will be called after all semantic analysis phases but before type checking. """ self.recurse_into_functions = True self.options = options self.errors.set_file(fnam, file_node.fullname()) self.cur_mod_node = file_node self.cur_mod_id = file_node.fullname() self.is_stub_file = fnam.lower().endswith(".pyi") self.is_typeshed_stub_file = self.errors.is_typeshed_file(file_node.path) self.globals = file_node.names self.patches = patches with experiments.strict_optional_set(options.strict_optional): if "builtins" in self.modules: self.globals["__builtins__"] = SymbolTableNode( MODULE_REF, self.modules["builtins"] ) for name in implicit_module_attrs: v = self.globals[name].node if isinstance(v, Var): assert v.type is not None, "Type of implicit attribute not set" v.type = self.anal_type(v.type) v.is_ready = True defs = file_node.defs for d in defs: self.accept(d) if self.cur_mod_id == "builtins": remove_imported_names_from_symtable(self.globals, "builtins") for alias_name in type_aliases: self.globals.pop(alias_name.split(".")[-1], None) if "__all__" in self.globals: for name, g in self.globals.items(): if name not in self.all_exports: g.module_public = False del self.options del self.patches
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def build_namedtuple_typeinfo( self, name: str, items: List[str], types: List[Type], default_items: Dict[str, Expression], ) -> TypeInfo: strtype = self.str_type() implicit_any = AnyType(TypeOfAny.special_form) basetuple_type = self.named_type("__builtins__.tuple", [implicit_any]) dictype = ( self.named_type_or_none("builtins.dict", [strtype, implicit_any]) or self.object_type() ) # Actual signature should return OrderedDict[str, Union[types]] ordereddictype = ( self.named_type_or_none("builtins.dict", [strtype, implicit_any]) or self.object_type() ) fallback = self.named_type("__builtins__.tuple", [implicit_any]) # Note: actual signature should accept an invariant version of Iterable[UnionType[types]]. # but it can't be expressed. 'new' and 'len' should be callable types. iterable_type = self.named_type_or_none("typing.Iterable", [implicit_any]) function_type = self.named_type("__builtins__.function") info = self.basic_new_typeinfo(name, fallback) info.is_named_tuple = True info.tuple_type = TupleType(types, fallback) def patch() -> None: # Calculate the correct value type for the fallback tuple. assert info.tuple_type, "TupleType type deleted before calling the patch" fallback.args[0] = join.join_type_list(list(info.tuple_type.items)) # We can't calculate the complete fallback type until after semantic # analysis, since otherwise MROs might be incomplete. Postpone a callback # function that patches the fallback. self.patches.append((PRIORITY_FALLBACKS, patch)) def add_field( var: Var, is_initialized_in_class: bool = False, is_property: bool = False ) -> None: var.info = info var.is_initialized_in_class = is_initialized_in_class var.is_property = is_property var._fullname = "%s.%s" % (info.fullname(), var.name()) info.names[var.name()] = SymbolTableNode(MDEF, var) vars = [Var(item, typ) for item, typ in zip(items, types)] for var in vars: add_field(var, is_property=True) tuple_of_strings = TupleType([strtype for _ in items], basetuple_type) add_field(Var("_fields", tuple_of_strings), is_initialized_in_class=True) add_field(Var("_field_types", dictype), is_initialized_in_class=True) add_field(Var("_field_defaults", dictype), is_initialized_in_class=True) add_field(Var("_source", strtype), is_initialized_in_class=True) add_field(Var("__annotations__", ordereddictype), is_initialized_in_class=True) add_field(Var("__doc__", strtype), is_initialized_in_class=True) tvd = TypeVarDef("NT", "NT", 1, [], info.tuple_type) selftype = TypeVarType(tvd) def add_method( funcname: str, ret: Type, args: List[Argument], name: Optional[str] = None, is_classmethod: bool = False, ) -> None: if is_classmethod: first = [ Argument(Var("cls"), TypeType.make_normalized(selftype), None, ARG_POS) ] else: first = [Argument(Var("self"), selftype, None, ARG_POS)] args = first + args types = [arg.type_annotation for arg in args] items = [arg.variable.name() for arg in args] arg_kinds = [arg.kind for arg in args] assert None not in types signature = CallableType( cast(List[Type], types), arg_kinds, items, ret, function_type ) signature.variables = [tvd] func = FuncDef(funcname, args, Block([])) func.info = info func.is_class = is_classmethod func.type = set_callable_name(signature, func) func._fullname = info.fullname() + "." + funcname if is_classmethod: v = Var(funcname, func.type) v.is_classmethod = True v.info = info v._fullname = func._fullname dec = Decorator(func, [NameExpr("classmethod")], v) info.names[funcname] = SymbolTableNode(MDEF, dec) else: info.names[funcname] = SymbolTableNode(MDEF, func) add_method( "_replace", ret=selftype, args=[Argument(var, var.type, EllipsisExpr(), ARG_NAMED_OPT) for var in vars], ) def make_init_arg(var: Var) -> Argument: default = default_items.get(var.name(), None) kind = ARG_POS if default is None else ARG_OPT return Argument(var, var.type, default, kind) add_method( "__init__", ret=NoneTyp(), name=info.name(), args=[make_init_arg(var) for var in vars], ) add_method("_asdict", args=[], ret=ordereddictype) special_form_any = AnyType(TypeOfAny.special_form) add_method( "_make", ret=selftype, is_classmethod=True, args=[ Argument(Var("iterable", iterable_type), iterable_type, None, ARG_POS), Argument(Var("new"), special_form_any, EllipsisExpr(), ARG_NAMED_OPT), Argument(Var("len"), special_form_any, EllipsisExpr(), ARG_NAMED_OPT), ], ) return info
def build_namedtuple_typeinfo( self, name: str, items: List[str], types: List[Type], default_items: Dict[str, Expression], ) -> TypeInfo: strtype = self.str_type() implicit_any = AnyType(TypeOfAny.special_form) basetuple_type = self.named_type("__builtins__.tuple", [implicit_any]) dictype = ( self.named_type_or_none("builtins.dict", [strtype, implicit_any]) or self.object_type() ) # Actual signature should return OrderedDict[str, Union[types]] ordereddictype = ( self.named_type_or_none("builtins.dict", [strtype, implicit_any]) or self.object_type() ) fallback = self.named_type("__builtins__.tuple", [implicit_any]) # Note: actual signature should accept an invariant version of Iterable[UnionType[types]]. # but it can't be expressed. 'new' and 'len' should be callable types. iterable_type = self.named_type_or_none("typing.Iterable", [implicit_any]) function_type = self.named_type("__builtins__.function") info = self.basic_new_typeinfo(name, fallback) info.is_named_tuple = True info.tuple_type = TupleType(types, fallback) def patch() -> None: # Calculate the correct value type for the fallback tuple. assert info.tuple_type, "TupleType type deleted before calling the patch" fallback.args[0] = join.join_type_list(list(info.tuple_type.items)) # We can't calculate the complete fallback type until after semantic # analysis, since otherwise MROs might be incomplete. Postpone a callback # function that patches the fallback. self.patches.append(patch) def add_field( var: Var, is_initialized_in_class: bool = False, is_property: bool = False ) -> None: var.info = info var.is_initialized_in_class = is_initialized_in_class var.is_property = is_property var._fullname = "%s.%s" % (info.fullname(), var.name()) info.names[var.name()] = SymbolTableNode(MDEF, var) vars = [Var(item, typ) for item, typ in zip(items, types)] for var in vars: add_field(var, is_property=True) tuple_of_strings = TupleType([strtype for _ in items], basetuple_type) add_field(Var("_fields", tuple_of_strings), is_initialized_in_class=True) add_field(Var("_field_types", dictype), is_initialized_in_class=True) add_field(Var("_field_defaults", dictype), is_initialized_in_class=True) add_field(Var("_source", strtype), is_initialized_in_class=True) add_field(Var("__annotations__", ordereddictype), is_initialized_in_class=True) add_field(Var("__doc__", strtype), is_initialized_in_class=True) tvd = TypeVarDef("NT", "NT", 1, [], info.tuple_type) selftype = TypeVarType(tvd) def add_method( funcname: str, ret: Type, args: List[Argument], name: Optional[str] = None, is_classmethod: bool = False, ) -> None: if is_classmethod: first = [ Argument(Var("cls"), TypeType.make_normalized(selftype), None, ARG_POS) ] else: first = [Argument(Var("self"), selftype, None, ARG_POS)] args = first + args types = [arg.type_annotation for arg in args] items = [arg.variable.name() for arg in args] arg_kinds = [arg.kind for arg in args] assert None not in types signature = CallableType( cast(List[Type], types), arg_kinds, items, ret, function_type ) signature.variables = [tvd] func = FuncDef(funcname, args, Block([])) func.info = info func.is_class = is_classmethod func.type = set_callable_name(signature, func) func._fullname = info.fullname() + "." + funcname if is_classmethod: v = Var(funcname, func.type) v.is_classmethod = True v.info = info v._fullname = func._fullname dec = Decorator(func, [NameExpr("classmethod")], v) info.names[funcname] = SymbolTableNode(MDEF, dec) else: info.names[funcname] = SymbolTableNode(MDEF, func) add_method( "_replace", ret=selftype, args=[Argument(var, var.type, EllipsisExpr(), ARG_NAMED_OPT) for var in vars], ) def make_init_arg(var: Var) -> Argument: default = default_items.get(var.name(), None) kind = ARG_POS if default is None else ARG_OPT return Argument(var, var.type, default, kind) add_method( "__init__", ret=NoneTyp(), name=info.name(), args=[make_init_arg(var) for var in vars], ) add_method("_asdict", args=[], ret=ordereddictype) special_form_any = AnyType(TypeOfAny.special_form) add_method( "_make", ret=selftype, is_classmethod=True, args=[ Argument(Var("iterable", iterable_type), iterable_type, None, ARG_POS), Argument(Var("new"), special_form_any, EllipsisExpr(), ARG_NAMED_OPT), Argument(Var("len"), special_form_any, EllipsisExpr(), ARG_NAMED_OPT), ], ) return info
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def build_typeddict_typeinfo( self, name: str, items: List[str], types: List[Type], required_keys: Set[str] ) -> TypeInfo: fallback = ( self.named_type_or_none("typing.Mapping", [self.str_type(), self.object_type()]) or self.object_type() ) info = self.basic_new_typeinfo(name, fallback) info.typeddict_type = TypedDictType( OrderedDict(zip(items, types)), required_keys, fallback ) def patch() -> None: # Calculate the correct value type for the fallback Mapping. assert info.typeddict_type, "TypedDict type deleted before calling the patch" fallback.args[1] = join.join_type_list(list(info.typeddict_type.items.values())) # We can't calculate the complete fallback type until after semantic # analysis, since otherwise MROs might be incomplete. Postpone a callback # function that patches the fallback. self.patches.append((PRIORITY_FALLBACKS, patch)) return info
def build_typeddict_typeinfo( self, name: str, items: List[str], types: List[Type], required_keys: Set[str] ) -> TypeInfo: fallback = ( self.named_type_or_none("typing.Mapping", [self.str_type(), self.object_type()]) or self.object_type() ) info = self.basic_new_typeinfo(name, fallback) info.typeddict_type = TypedDictType( OrderedDict(zip(items, types)), required_keys, fallback ) def patch() -> None: # Calculate the correct value type for the fallback Mapping. assert info.typeddict_type, "TypedDict type deleted before calling the patch" fallback.args[1] = join.join_type_list(list(info.typeddict_type.items.values())) # We can't calculate the complete fallback type until after semantic # analysis, since otherwise MROs might be incomplete. Postpone a callback # function that patches the fallback. self.patches.append(patch) return info
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def visit_file( self, file_node: MypyFile, fnam: str, options: Options, patches: List[Tuple[int, Callable[[], None]]], ) -> None: self.recurse_into_functions = True self.errors.set_file(fnam, file_node.fullname()) self.options = options self.sem.options = options self.patches = patches self.is_typeshed_file = self.errors.is_typeshed_file(fnam) self.sem.cur_mod_id = file_node.fullname() self.sem.globals = file_node.names with experiments.strict_optional_set(options.strict_optional): self.accept(file_node)
def visit_file( self, file_node: MypyFile, fnam: str, options: Options, patches: List[Callable[[], None]], ) -> None: self.recurse_into_functions = True self.errors.set_file(fnam, file_node.fullname()) self.options = options self.sem.options = options self.patches = patches self.is_typeshed_file = self.errors.is_typeshed_file(fnam) self.sem.cur_mod_id = file_node.fullname() self.sem.globals = file_node.names with experiments.strict_optional_set(options.strict_optional): self.accept(file_node)
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def analyze( self, type: Optional[Type], node: Union[Node, SymbolTableNode], warn: bool = False ) -> None: # Recursive type warnings are only emitted on type definition 'node's, marked by 'warn' # Flags appeared during analysis of 'type' are collected in this dict. indicator = {} # type: Dict[str, bool] if type: analyzer = self.make_type_analyzer(indicator) type.accept(analyzer) self.check_for_omitted_generics(type) self.generate_type_patches(node, indicator, warn)
def analyze( self, type: Optional[Type], node: Union[Node, SymbolTableNode], warn: bool = False ) -> None: # Recursive type warnings are only emitted on type definition 'node's, marked by 'warn' # Flags appeared during analysis of 'type' are collected in this dict. indicator = {} # type: Dict[str, bool] if type: analyzer = self.make_type_analyzer(indicator) type.accept(analyzer) self.check_for_omitted_generics(type) if indicator.get("forward") or indicator.get("synthetic"): def patch() -> None: self.perform_transform( node, lambda tp: tp.accept( ForwardReferenceResolver(self.fail, node, warn) ), ) self.patches.append(patch)
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def analyze_types(self, types: List[Type], node: Node) -> None: # Similar to above but for nodes with multiple types. indicator = {} # type: Dict[str, bool] for type in types: analyzer = self.make_type_analyzer(indicator) type.accept(analyzer) self.check_for_omitted_generics(type) self.generate_type_patches(node, indicator, warn=False)
def analyze_types(self, types: List[Type], node: Node) -> None: # Similar to above but for nodes with multiple types. indicator = {} # type: Dict[str, bool] for type in types: analyzer = self.make_type_analyzer(indicator) type.accept(analyzer) self.check_for_omitted_generics(type) if indicator.get("forward") or indicator.get("synthetic"): def patch() -> None: self.perform_transform( node, lambda tp: tp.accept( ForwardReferenceResolver(self.fail, node, warn=False) ), ) self.patches.append(patch)
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def make_type_analyzer(self, indicator: Dict[str, bool]) -> TypeAnalyserPass3: return TypeAnalyserPass3( self.sem.lookup_qualified, self.sem.lookup_fully_qualified, self.fail, self.sem.note, self.sem.plugin, self.options, self.is_typeshed_file, indicator, self.patches, )
def make_type_analyzer(self, indicator: Dict[str, bool]) -> TypeAnalyserPass3: return TypeAnalyserPass3( self.sem.lookup_qualified, self.sem.lookup_fully_qualified, self.fail, self.sem.note, self.sem.plugin, self.options, self.is_typeshed_file, indicator, )
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def patch() -> None: self.perform_transform(node, lambda tp: tp.accept(TypeVariableChecker(self.fail)))
def patch() -> None: self.perform_transform( node, lambda tp: tp.accept(ForwardReferenceResolver(self.fail, node, warn)) )
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def __init__(self, fail: Callable[[str, Context], None]) -> None: self.fail = fail
def __init__( self, fail: Callable[[str, Context], None], start: Union[Node, SymbolTableNode], warn: bool, ) -> None: self.seen = [] # type: List[Type] self.fail = fail self.start = start self.warn = warn
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def __init__( self, lookup_func: Callable[[str, Context], Optional[SymbolTableNode]], lookup_fqn_func: Callable[[str], SymbolTableNode], fail_func: Callable[[str, Context], None], note_func: Callable[[str, Context], None], plugin: Plugin, options: Options, is_typeshed_stub: bool, indicator: Dict[str, bool], patches: List[Tuple[int, Callable[[], None]]], ) -> None: self.lookup_func = lookup_func self.lookup_fqn_func = lookup_fqn_func self.fail = fail_func self.note_func = note_func self.options = options self.plugin = plugin self.is_typeshed_stub = is_typeshed_stub self.indicator = indicator self.patches = patches
def __init__( self, lookup_func: Callable[[str, Context], Optional[SymbolTableNode]], lookup_fqn_func: Callable[[str], SymbolTableNode], fail_func: Callable[[str, Context], None], note_func: Callable[[str, Context], None], plugin: Plugin, options: Options, is_typeshed_stub: bool, indicator: Dict[str, bool], ) -> None: self.lookup_func = lookup_func self.lookup_fqn_func = lookup_fqn_func self.fail = fail_func self.note_func = note_func self.options = options self.plugin = plugin self.is_typeshed_stub = is_typeshed_stub self.indicator = indicator
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def visit_instance(self, t: Instance) -> None: info = t.type if info.replaced or info.tuple_type: self.indicator["synthetic"] = True # Check type argument count. if len(t.args) != len(info.type_vars): if len(t.args) == 0: from_builtins = ( t.type.fullname() in nongen_builtins and not t.from_generic_builtin ) if ( self.options.disallow_any_generics and not self.is_typeshed_stub and from_builtins ): alternative = nongen_builtins[t.type.fullname()] self.fail(messages.IMPLICIT_GENERIC_ANY_BUILTIN.format(alternative), t) # Insert implicit 'Any' type arguments. if from_builtins: # this 'Any' was already reported elsewhere any_type = AnyType(TypeOfAny.special_form, line=t.line, column=t.column) else: any_type = AnyType( TypeOfAny.from_omitted_generics, line=t.line, column=t.column ) t.args = [any_type] * len(info.type_vars) return # Invalid number of type parameters. n = len(info.type_vars) s = "{} type arguments".format(n) if n == 0: s = "no type arguments" elif n == 1: s = "1 type argument" act = str(len(t.args)) if act == "0": act = "none" self.fail('"{}" expects {}, but {} given'.format(info.name(), s, act), t) # Construct the correct number of type arguments, as # otherwise the type checker may crash as it expects # things to be right. t.args = [AnyType(TypeOfAny.from_error) for _ in info.type_vars] t.invalid = True elif info.defn.type_vars: # Check type argument values. This is postponed to the end of semantic analysis # since we need full MROs and resolved forward references. for tvar in info.defn.type_vars: if ( tvar.values or not isinstance(tvar.upper_bound, Instance) or tvar.upper_bound.type.fullname() != "builtins.object" ): # Some restrictions on type variable. These can only be checked later # after we have final MROs and forward references have been resolved. self.indicator["typevar"] = True for arg in t.args: arg.accept(self) if info.is_newtype: for base in info.bases: base.accept(self)
def visit_instance(self, t: Instance) -> None: info = t.type if info.replaced or info.tuple_type: self.indicator["synthetic"] = True # Check type argument count. if len(t.args) != len(info.type_vars): if len(t.args) == 0: from_builtins = ( t.type.fullname() in nongen_builtins and not t.from_generic_builtin ) if ( self.options.disallow_any_generics and not self.is_typeshed_stub and from_builtins ): alternative = nongen_builtins[t.type.fullname()] self.fail(messages.IMPLICIT_GENERIC_ANY_BUILTIN.format(alternative), t) # Insert implicit 'Any' type arguments. if from_builtins: # this 'Any' was already reported elsewhere any_type = AnyType(TypeOfAny.special_form, line=t.line, column=t.column) else: any_type = AnyType( TypeOfAny.from_omitted_generics, line=t.line, column=t.column ) t.args = [any_type] * len(info.type_vars) return # Invalid number of type parameters. n = len(info.type_vars) s = "{} type arguments".format(n) if n == 0: s = "no type arguments" elif n == 1: s = "1 type argument" act = str(len(t.args)) if act == "0": act = "none" self.fail('"{}" expects {}, but {} given'.format(info.name(), s, act), t) # Construct the correct number of type arguments, as # otherwise the type checker may crash as it expects # things to be right. t.args = [AnyType(TypeOfAny.from_error) for _ in info.type_vars] t.invalid = True elif info.defn.type_vars: # Check type argument values. # TODO: Calling is_subtype and is_same_types in semantic analysis is a bad idea for (i, arg), tvar in zip(enumerate(t.args), info.defn.type_vars): if tvar.values: if isinstance(arg, TypeVarType): arg_values = arg.values if not arg_values: self.fail( 'Type variable "{}" not valid as type ' 'argument value for "{}"'.format(arg.name, info.name()), t, ) continue else: arg_values = [arg] self.check_type_var_values( info, arg_values, tvar.name, tvar.values, i + 1, t ) # TODO: These hacks will be not necessary when this will be moved to later stage. arg = self.resolve_type(arg) bound = self.resolve_type(tvar.upper_bound) if not is_subtype(arg, bound): self.fail( 'Type argument "{}" of "{}" must be a subtype of "{}"'.format( arg, info.name(), bound ), t, ) for arg in t.args: arg.accept(self) if info.is_newtype: for base in info.bases: base.accept(self)
https://github.com/python/mypy/issues/4200
forward.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.540 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 201, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1867, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2117, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2214, in process_stale_scc graph[id].semantic_analysis_pass_three() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1760, in semantic_analysis_pass_three self.options, patches) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 56, in visit_file self.accept(file_node) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 73, in accept node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 228, in accept return visitor.visit_mypy_file(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/traverser.py", line 30, in visit_mypy_file d.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 187, in visit_assignment_stmt self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/semanal_pass3.py", line 311, in analyze type.accept(analyzer) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 476, in accept return visitor.visit_instance(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/typeanal.py", line 716, in visit_instance if not is_subtype(arg, bound): File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1227, in accept return visitor.visit_union_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in visit_union_type for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 312, in <genexpr> for item in left.items) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/subtypes.py", line 83, in is_subtype ignore_declared_variance=ignore_declared_variance)) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1412, in accept return visitor.visit_forwardref_type(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/types.py", line 1497, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference forward.py:1: : note: use --pdb to drop into pdb
RuntimeError
def find_isinstance_check(self, node: Expression) -> Tuple[TypeMap, TypeMap]: """Find any isinstance checks (within a chain of ands). Includes implicit and explicit checks for None and calls to callable. Return value is a map of variables to their types if the condition is true and a map of variables to their types if the condition is false. If either of the values in the tuple is None, then that particular branch can never occur. Guaranteed to not return None, None. (But may return {}, {}) """ type_map = self.type_map if is_true_literal(node): return {}, None elif is_false_literal(node): return None, {} elif isinstance(node, CallExpr): if refers_to_fullname(node.callee, "builtins.isinstance"): if len(node.args) != 2: # the error will be reported later return {}, {} expr = node.args[0] if literal(expr) == LITERAL_TYPE: vartype = type_map[expr] type = get_isinstance_type(node.args[1], type_map) return conditional_type_map(expr, vartype, type) elif refers_to_fullname(node.callee, "builtins.issubclass"): expr = node.args[0] if literal(expr) == LITERAL_TYPE: vartype = type_map[expr] type = get_isinstance_type(node.args[1], type_map) if isinstance(vartype, UnionType): union_list = [] for t in vartype.items: if isinstance(t, TypeType): union_list.append(t.item) else: # this is an error that should be reported earlier # if we reach here, we refuse to do any type inference return {}, {} vartype = UnionType(union_list) elif isinstance(vartype, TypeType): vartype = vartype.item else: # any other object whose type we don't know precisely # for example, Any or Instance of type type return {}, {} # unknown type yes_map, no_map = conditional_type_map(expr, vartype, type) yes_map, no_map = map(convert_to_typetype, (yes_map, no_map)) return yes_map, no_map elif refers_to_fullname(node.callee, "builtins.callable"): expr = node.args[0] if literal(expr) == LITERAL_TYPE: vartype = type_map[expr] return self.conditional_callable_type_map(expr, vartype) elif isinstance(node, ComparisonExpr) and experiments.STRICT_OPTIONAL: # Check for `x is None` and `x is not None`. is_not = node.operators == ["is not"] if any(is_literal_none(n) for n in node.operands) and ( is_not or node.operators == ["is"] ): if_vars = {} # type: TypeMap else_vars = {} # type: TypeMap for expr in node.operands: if ( literal(expr) == LITERAL_TYPE and not is_literal_none(expr) and expr in type_map ): # This should only be true at most once: there should be # two elements in node.operands, and at least one of them # should represent a None. vartype = type_map[expr] none_typ = [TypeRange(NoneTyp(), is_upper_bound=False)] if_vars, else_vars = conditional_type_map(expr, vartype, none_typ) break if is_not: if_vars, else_vars = else_vars, if_vars return if_vars, else_vars # Check for `x == y` where x is of type Optional[T] and y is of type T # or a type that overlaps with T (or vice versa). elif node.operators == ["=="]: first_type = type_map[node.operands[0]] second_type = type_map[node.operands[1]] if is_optional(first_type) != is_optional(second_type): if is_optional(first_type): optional_type, comp_type = first_type, second_type optional_expr = node.operands[0] else: optional_type, comp_type = second_type, first_type optional_expr = node.operands[1] if is_overlapping_types(optional_type, comp_type): return {optional_expr: remove_optional(optional_type)}, {} elif node.operators in [["in"], ["not in"]]: expr = node.operands[0] left_type = type_map[expr] right_type = builtin_item_type(type_map[node.operands[1]]) right_ok = right_type and ( not is_optional(right_type) and ( not isinstance(right_type, Instance) or right_type.type.fullname() != "builtins.object" ) ) if ( right_type and right_ok and is_optional(left_type) and literal(expr) == LITERAL_TYPE and not is_literal_none(expr) and is_overlapping_types(left_type, right_type) ): if node.operators == ["in"]: return {expr: remove_optional(left_type)}, {} if node.operators == ["not in"]: return {}, {expr: remove_optional(left_type)} elif isinstance(node, RefExpr): # Restrict the type of the variable to True-ish/False-ish in the if and else branches # respectively vartype = type_map[node] if_type = true_only(vartype) else_type = false_only(vartype) ref = node # type: Expression if_map = {ref: if_type} if not isinstance(if_type, UninhabitedType) else None else_map = ( {ref: else_type} if not isinstance(else_type, UninhabitedType) else None ) return if_map, else_map elif isinstance(node, OpExpr) and node.op == "and": left_if_vars, left_else_vars = self.find_isinstance_check(node.left) right_if_vars, right_else_vars = self.find_isinstance_check(node.right) # (e1 and e2) is true if both e1 and e2 are true, # and false if at least one of e1 and e2 is false. return ( and_conditional_maps(left_if_vars, right_if_vars), or_conditional_maps(left_else_vars, right_else_vars), ) elif isinstance(node, OpExpr) and node.op == "or": left_if_vars, left_else_vars = self.find_isinstance_check(node.left) right_if_vars, right_else_vars = self.find_isinstance_check(node.right) # (e1 or e2) is true if at least one of e1 or e2 is true, # and false if both e1 and e2 are false. return ( or_conditional_maps(left_if_vars, right_if_vars), and_conditional_maps(left_else_vars, right_else_vars), ) elif isinstance(node, UnaryExpr) and node.op == "not": left, right = self.find_isinstance_check(node.expr) return right, left # Not a supported isinstance check return {}, {}
def find_isinstance_check(self, n: Expression) -> "Tuple[TypeMap, TypeMap]": return find_isinstance_check(n, self.type_map)
https://github.com/python/mypy/issues/3605
$ mypy n.py $ python3 n.py hello Traceback (most recent call last): File "n.py", line 8, in <module> f(lambda: print('hello')) File "n.py", line 5, in f 1 + 'boom' TypeError: unsupported operand type(s) for +: 'int' and 'str'
TypeError
def partition_by_callable( self, typ: Type, unsound_partition: bool ) -> Tuple[List[Type], List[Type]]: """Takes in a type and partitions that type into callable subtypes and uncallable subtypes. Thus, given: `callables, uncallables = partition_by_callable(type)` If we assert `callable(type)` then `type` has type Union[*callables], and If we assert `not callable(type)` then `type` has type Union[*uncallables] If unsound_partition is set, assume that anything that is not clearly callable is in fact not callable. Otherwise we generate a new subtype that *is* callable. Guaranteed to not return [], [] """ if isinstance(typ, FunctionLike) or isinstance(typ, TypeType): return [typ], [] if isinstance(typ, AnyType): return [typ], [typ] if isinstance(typ, UnionType): callables = [] uncallables = [] for subtype in typ.relevant_items(): # Use unsound_partition when handling unions in order to # allow the expected type discrimination. subcallables, subuncallables = self.partition_by_callable( subtype, unsound_partition=True ) callables.extend(subcallables) uncallables.extend(subuncallables) return callables, uncallables if isinstance(typ, TypeVarType): # We could do better probably? # Refine the the type variable's bound as our type in the case that # callable() is true. This unfortuantely loses the information that # the type is a type variable in that branch. # This matches what is done for isinstance, but it may be possible to # do better. # If it is possible for the false branch to execute, return the original # type to avoid losing type information. callables, uncallables = self.partition_by_callable( typ.erase_to_union_or_bound(), unsound_partition ) uncallables = [typ] if len(uncallables) else [] return callables, uncallables # A TupleType is callable if its fallback is, but needs special handling # when we dummy up a new type. ityp = typ if isinstance(typ, TupleType): ityp = typ.fallback if isinstance(ityp, Instance): method = ityp.type.get_method("__call__") if method and method.type: callables, uncallables = self.partition_by_callable( method.type, unsound_partition=False ) if len(callables) and not len(uncallables): # Only consider the type callable if its __call__ method is # definitely callable. return [typ], [] if not unsound_partition: fake = self.make_fake_callable(ityp) if isinstance(typ, TupleType): fake.type.tuple_type = TupleType(typ.items, fake) return [fake.type.tuple_type], [typ] return [fake], [typ] if unsound_partition: return [], [typ] else: # We don't know how properly make the type callable. return [typ], [typ]
def partition_by_callable(type: Type) -> Tuple[List[Type], List[Type]]: """Takes in a type and partitions that type into callable subtypes and uncallable subtypes. Thus, given: `callables, uncallables = partition_by_callable(type)` If we assert `callable(type)` then `type` has type Union[*callables], and If we assert `not callable(type)` then `type` has type Union[*uncallables] Guaranteed to not return [], []""" if isinstance(type, FunctionLike) or isinstance(type, TypeType): return [type], [] if isinstance(type, AnyType): return [type], [type] if isinstance(type, UnionType): callables = [] uncallables = [] for subtype in type.relevant_items(): subcallables, subuncallables = partition_by_callable(subtype) callables.extend(subcallables) uncallables.extend(subuncallables) return callables, uncallables if isinstance(type, TypeVarType): return partition_by_callable(type.erase_to_union_or_bound()) if isinstance(type, Instance): method = type.type.get_method("__call__") if method and method.type: callables, uncallables = partition_by_callable(method.type) if len(callables) and not len(uncallables): # Only consider the type callable if its __call__ method is # definitely callable. return [type], [] return [], [type] return [], [type]
https://github.com/python/mypy/issues/3605
$ mypy n.py $ python3 n.py hello Traceback (most recent call last): File "n.py", line 8, in <module> f(lambda: print('hello')) File "n.py", line 5, in f 1 + 'boom' TypeError: unsupported operand type(s) for +: 'int' and 'str'
TypeError
def conditional_callable_type_map( self, expr: Expression, current_type: Optional[Type], ) -> Tuple[TypeMap, TypeMap]: """Takes in an expression and the current type of the expression. Returns a 2-tuple: The first element is a map from the expression to the restricted type if it were callable. The second element is a map from the expression to the type it would hold if it weren't callable. """ if not current_type: return {}, {} if isinstance(current_type, AnyType): return {}, {} callables, uncallables = self.partition_by_callable( current_type, unsound_partition=False ) if len(callables) and len(uncallables): callable_map = ( {expr: UnionType.make_union(callables)} if len(callables) else None ) uncallable_map = ( {expr: UnionType.make_union(uncallables)} if len(uncallables) else None ) return callable_map, uncallable_map elif len(callables): return {}, None return None, {}
def conditional_callable_type_map( expr: Expression, current_type: Optional[Type], ) -> Tuple[TypeMap, TypeMap]: """Takes in an expression and the current type of the expression. Returns a 2-tuple: The first element is a map from the expression to the restricted type if it were callable. The second element is a map from the expression to the type it would hold if it weren't callable.""" if not current_type: return {}, {} if isinstance(current_type, AnyType): return {}, {} callables, uncallables = partition_by_callable(current_type) if len(callables) and len(uncallables): callable_map = ( {expr: UnionType.make_union(callables)} if len(callables) else None ) uncallable_map = ( {expr: UnionType.make_union(uncallables)} if len(uncallables) else None ) return callable_map, uncallable_map elif len(callables): return {}, None return None, {}
https://github.com/python/mypy/issues/3605
$ mypy n.py $ python3 n.py hello Traceback (most recent call last): File "n.py", line 8, in <module> f(lambda: print('hello')) File "n.py", line 5, in f 1 + 'boom' TypeError: unsupported operand type(s) for +: 'int' and 'str'
TypeError
def check_for_comp(self, e: Union[GeneratorExpr, DictionaryComprehension]) -> None: """Check the for_comp part of comprehensions. That is the part from 'for': ... for x in y if z Note: This adds the type information derived from the condlists to the current binder. """ for index, sequence, conditions, is_async in zip( e.indices, e.sequences, e.condlists, e.is_async ): if is_async: sequence_type = self.chk.analyze_async_iterable_item_type(sequence) else: sequence_type = self.chk.analyze_iterable_item_type(sequence) self.chk.analyze_index_variables(index, sequence_type, True, e) for condition in conditions: self.accept(condition) # values are only part of the comprehension when all conditions are true true_map, _ = self.chk.find_isinstance_check(condition) if true_map: for var, type in true_map.items(): self.chk.binder.put(var, type)
def check_for_comp(self, e: Union[GeneratorExpr, DictionaryComprehension]) -> None: """Check the for_comp part of comprehensions. That is the part from 'for': ... for x in y if z Note: This adds the type information derived from the condlists to the current binder. """ for index, sequence, conditions, is_async in zip( e.indices, e.sequences, e.condlists, e.is_async ): if is_async: sequence_type = self.chk.analyze_async_iterable_item_type(sequence) else: sequence_type = self.chk.analyze_iterable_item_type(sequence) self.chk.analyze_index_variables(index, sequence_type, True, e) for condition in conditions: self.accept(condition) # values are only part of the comprehension when all conditions are true true_map, _ = mypy.checker.find_isinstance_check( condition, self.chk.type_map ) if true_map: for var, type in true_map.items(): self.chk.binder.put(var, type)
https://github.com/python/mypy/issues/3605
$ mypy n.py $ python3 n.py hello Traceback (most recent call last): File "n.py", line 8, in <module> f(lambda: print('hello')) File "n.py", line 5, in f 1 + 'boom' TypeError: unsupported operand type(s) for +: 'int' and 'str'
TypeError
def calculate_mro(self) -> None: """Calculate and set mro (method resolution order). Raise MroError if cannot determine mro. """ mro = linearize_hierarchy(self) assert mro, "Could not produce a MRO at all for %s" % (self,) self.mro = mro self.is_enum = self._calculate_is_enum() # The property of falling back to Any is inherited. self.fallback_to_any = any(baseinfo.fallback_to_any for baseinfo in self.mro)
def calculate_mro(self) -> None: """Calculate and set mro (method resolution order). Raise MroError if cannot determine mro. """ mro = linearize_hierarchy(self) assert mro, "Could not produce a MRO at all for %s" % (self,) self.mro = mro self.is_enum = self._calculate_is_enum()
https://github.com/python/mypy/issues/3605
$ mypy n.py $ python3 n.py hello Traceback (most recent call last): File "n.py", line 8, in <module> f(lambda: print('hello')) File "n.py", line 5, in f 1 + 'boom' TypeError: unsupported operand type(s) for +: 'int' and 'str'
TypeError
def calculate_class_mro(defn: ClassDef, fail: Callable[[str, Context], None]) -> None: try: defn.info.calculate_mro() except MroError: fail( "Cannot determine consistent method resolution order " '(MRO) for "%s"' % defn.name, defn, ) defn.info.mro = []
def calculate_class_mro(defn: ClassDef, fail: Callable[[str, Context], None]) -> None: try: defn.info.calculate_mro() except MroError: fail( "Cannot determine consistent method resolution order " '(MRO) for "%s"' % defn.name, defn, ) defn.info.mro = [] # The property of falling back to Any is inherited. defn.info.fallback_to_any = any( baseinfo.fallback_to_any for baseinfo in defn.info.mro )
https://github.com/python/mypy/issues/3605
$ mypy n.py $ python3 n.py hello Traceback (most recent call last): File "n.py", line 8, in <module> f(lambda: print('hello')) File "n.py", line 5, in f 1 + 'boom' TypeError: unsupported operand type(s) for +: 'int' and 'str'
TypeError
def visit_decorator(self, dec: Decorator) -> None: """Try to infer the type of the decorated function. This lets us resolve references to decorated functions during type checking when there are cyclic imports, as otherwise the type might not be available when we need it. This basically uses a simple special-purpose type inference engine just for decorators. """ # Don't just call the super method since we don't unconditionally traverse the decorated # function. dec.var.accept(self) for decorator in dec.decorators: decorator.accept(self) if self.recurse_into_functions: dec.func.accept(self) if dec.var.is_property: # Decorators are expected to have a callable type (it's a little odd). if dec.func.type is None: dec.var.type = CallableType( [AnyType(TypeOfAny.special_form)], [ARG_POS], [None], AnyType(TypeOfAny.special_form), self.builtin_type("function"), name=dec.var.name(), ) elif isinstance(dec.func.type, CallableType): dec.var.type = dec.func.type self.analyze(dec.var.type, dec.var) return decorator_preserves_type = True for expr in dec.decorators: preserve_type = False if isinstance(expr, RefExpr) and isinstance(expr.node, FuncDef): if expr.node.type and is_identity_signature(expr.node.type): preserve_type = True if not preserve_type: decorator_preserves_type = False break if decorator_preserves_type: # No non-identity decorators left. We can trivially infer the type # of the function here. dec.var.type = function_type(dec.func, self.builtin_type("function")) if dec.decorators: return_type = calculate_return_type(dec.decorators[0]) if return_type and isinstance(return_type, AnyType): # The outermost decorator will return Any so we know the type of the # decorated function. dec.var.type = AnyType(TypeOfAny.from_another_any, source_any=return_type) sig = find_fixed_callable_return(dec.decorators[0]) if sig: # The outermost decorator always returns the same kind of function, # so we know that this is the type of the decoratored function. orig_sig = function_type(dec.func, self.builtin_type("function")) sig.name = orig_sig.items()[0].name dec.var.type = sig self.analyze(dec.var.type, dec.var)
def visit_decorator(self, dec: Decorator) -> None: """Try to infer the type of the decorated function. This lets us resolve references to decorated functions during type checking when there are cyclic imports, as otherwise the type might not be available when we need it. This basically uses a simple special-purpose type inference engine just for decorators. """ # Don't just call the super method since we don't unconditionally traverse the decorated # function. dec.var.accept(self) for decorator in dec.decorators: decorator.accept(self) if self.recurse_into_functions: dec.func.accept(self) if dec.var.is_property: # Decorators are expected to have a callable type (it's a little odd). if dec.func.type is None: dec.var.type = CallableType( [AnyType(TypeOfAny.special_form)], [ARG_POS], [None], AnyType(TypeOfAny.special_form), self.builtin_type("function"), name=dec.var.name(), ) elif isinstance(dec.func.type, CallableType): dec.var.type = dec.func.type return decorator_preserves_type = True for expr in dec.decorators: preserve_type = False if isinstance(expr, RefExpr) and isinstance(expr.node, FuncDef): if expr.node.type and is_identity_signature(expr.node.type): preserve_type = True if not preserve_type: decorator_preserves_type = False break if decorator_preserves_type: # No non-identity decorators left. We can trivially infer the type # of the function here. dec.var.type = function_type(dec.func, self.builtin_type("function")) if dec.decorators: return_type = calculate_return_type(dec.decorators[0]) if return_type and isinstance(return_type, AnyType): # The outermost decorator will return Any so we know the type of the # decorated function. dec.var.type = AnyType(TypeOfAny.from_another_any, source_any=return_type) sig = find_fixed_callable_return(dec.decorators[0]) if sig: # The outermost decorator always returns the same kind of function, # so we know that this is the type of the decoratored function. orig_sig = function_type(dec.func, self.builtin_type("function")) sig.name = orig_sig.items()[0].name dec.var.type = sig
https://github.com/python/mypy/issues/4370
$ mypy -p common --show-traceback /home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/aio_pika/patterns/rpc.py:186: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.550 Traceback (most recent call last): File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/__main__.py", line 11, in <module> main(None) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/main.py", line 119, in type_check_only options=options) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/build.py", line 214, in build graph = dispatch(sources, manager) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/build.py", line 1935, in dispatch process_graph(graph, manager) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/build.py", line 2199, in process_graph process_stale_scc(graph, scc, manager) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/build.py", line 2327, in process_stale_scc graph[id].type_check_first_pass() File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/build.py", line 1836, in type_check_first_pass self.type_checker.check_first_pass() File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 196, in check_first_pass self.accept(d) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 690, in accept return visitor.visit_class_def(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 1185, in visit_class_def self.accept(defn.defs) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_block(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 1305, in visit_block self.accept(s) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 567, in accept return visitor.visit_decorator(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 2470, in visit_decorator self.check_func_item(e.func, name=e.func.name()) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 591, in check_func_item self.check_func_def(defn, typ, name) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 751, in check_func_def self.accept(item.body) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_block(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 1305, in visit_block self.accept(s) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 952, in accept return visitor.visit_try_stmt(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 2265, in visit_try_stmt self.visit_try_without_finally(s, try_frame=bool(s.finally_body)) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 2300, in visit_try_without_finally self.accept(s.body) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_block(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 1305, in visit_block self.accept(s) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 794, in accept return visitor.visit_assignment_stmt(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 1312, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checker.py", line 1406, in check_assignment self.infer_variable_type(inferred, lvalue, self.expr_checker.accept(rvalue), File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checkexpr.py", line 2363, in accept typ = node.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 1245, in accept return visitor.visit_yield_from_expr(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checkexpr.py", line 2486, in visit_yield_from_expr subexpr_type = self.accept(e.expr) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checkexpr.py", line 2363, in accept typ = node.accept(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/nodes.py", line 1235, in accept return visitor.visit_call_expr(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checkexpr.py", line 268, in visit_call_expr ret_type = self.check_call_expr_with_callee_type(callee_type, e, fullname, object_type) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checkexpr.py", line 505, in check_call_expr_with_callee_type object_type=object_type)[0] File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/checkexpr.py", line 563, in check_call callee = freshen_function_type_vars(callee) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/expandtype.py", line 46, in freshen_function_type_vars fresh = cast(CallableType, expand_type(callee, tvmap)).copy_modified(variables=tvdefs) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/expandtype.py", line 16, in expand_type return typ.accept(ExpandTypeVisitor(env)) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/types.py", line 748, in accept return visitor.visit_callable_type(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/expandtype.py", line 97, in visit_callable_type return t.copy_modified(arg_types=self.expand_types(t.arg_types), File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/expandtype.py", line 132, in expand_types a.append(t.accept(self)) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/types.py", line 1424, in accept return visitor.visit_forwardref_type(self) File "/home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/mypy/types.py", line 1509, in visit_forwardref_type raise RuntimeError('Internal error: unresolved forward reference') RuntimeError: Internal error: unresolved forward reference /home/USER/.virtualenvs/backoffice-py/lib64/python3.6/site-packages/aio_pika/patterns/rpc.py:186: : note: use --pdb to drop into pdb
RuntimeError
def module_not_found(self, path: str, source: str, line: int, target: str) -> None: self.errors.set_file(path, source) stub_msg = "(Stub files are from https://github.com/python/typeshed)" if target == "builtins": self.errors.report( line, 0, "Cannot find 'builtins' module. Typeshed appears broken!", blocker=True, ) self.errors.raise_error() elif ( self.options.python_version[0] == 2 and moduleinfo.is_py2_std_lib_module(target) ) or ( self.options.python_version[0] >= 3 and moduleinfo.is_py3_std_lib_module(target) ): self.errors.report( line, 0, "No library stub file for standard library module '{}'".format(target), ) self.errors.report(line, 0, stub_msg, severity="note", only_once=True) elif moduleinfo.is_third_party_module(target): self.errors.report( line, 0, "No library stub file for module '{}'".format(target) ) self.errors.report(line, 0, stub_msg, severity="note", only_once=True) else: self.errors.report(line, 0, "Cannot find module named '{}'".format(target)) self.errors.report( line, 0, "(Perhaps setting MYPYPATH " 'or using the "--ignore-missing-imports" flag would help)', severity="note", only_once=True, )
def module_not_found(self, path: str, id: str, line: int, target: str) -> None: self.errors.set_file(path, id) stub_msg = "(Stub files are from https://github.com/python/typeshed)" if ( self.options.python_version[0] == 2 and moduleinfo.is_py2_std_lib_module(target) ) or ( self.options.python_version[0] >= 3 and moduleinfo.is_py3_std_lib_module(target) ): self.errors.report( line, 0, "No library stub file for standard library module '{}'".format(target), ) self.errors.report(line, 0, stub_msg, severity="note", only_once=True) elif moduleinfo.is_third_party_module(target): self.errors.report( line, 0, "No library stub file for module '{}'".format(target) ) self.errors.report(line, 0, stub_msg, severity="note", only_once=True) else: self.errors.report(line, 0, "Cannot find module named '{}'".format(target)) self.errors.report( line, 0, "(Perhaps setting MYPYPATH " 'or using the "--ignore-missing-imports" flag would help)', severity="note", only_once=True, )
https://github.com/python/mypy/issues/4301
file.py: error: Name '__builtins__' is not defined file.py:1: error: Cannot find module named 'builtins' file.py:1: note: (Perhaps setting MYPYPATH or using the "--ignore-missing-imports" flag would help) file.py:1: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.550 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 119, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 214, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1935, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2199, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2327, in process_stale_scc graph[id].type_check_first_pass() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1836, in type_check_first_pass self.type_checker.check_first_pass() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 196, in check_first_pass self.accept(d) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 764, in accept return visitor.visit_expression_stmt(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 2072, in visit_expression_stmt self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checkexpr.py", line 2363, in accept typ = node.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 1024, in accept return visitor.visit_int_expr(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checkexpr.py", line 1320, in visit_int_expr return self.named_type('builtins.int') File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checkexpr.py", line 2387, in named_type return self.chk.named_type(name) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 2636, in named_type sym = self.lookup_qualified(name) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 2702, in lookup_qualified n = self.modules[parts[0]] KeyError: 'builtins' file.py:1: : note: use --pdb to drop into pdb
KeyError
def visit_ImportFrom(self, n: ast3.ImportFrom) -> ImportBase: assert n.level is not None if len(n.names) == 1 and n.names[0].name == "*": mod = n.module if n.module is not None else "" i = ImportAll(mod, n.level) # type: ImportBase else: i = ImportFrom( self.translate_module_id(n.module) if n.module is not None else "", n.level, [(a.name, a.asname) for a in n.names], ) self.imports.append(i) return i
def visit_ImportFrom(self, n: ast3.ImportFrom) -> ImportBase: assert n.level is not None if len(n.names) == 1 and n.names[0].name == "*": assert n.module is not None i = ImportAll(n.module, n.level) # type: ImportBase else: i = ImportFrom( self.translate_module_id(n.module) if n.module is not None else "", n.level, [(a.name, a.asname) for a in n.names], ) self.imports.append(i) return i
https://github.com/python/mypy/issues/4111
Traceback (most recent call last): File "/path/py3env/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/path/py3env/lib/python3.5/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/path/py3env/lib/python3.5/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/path/py3env/lib/python3.5/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 198, in build graph = dispatch(sources, manager) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1833, in dispatch graph = load_graph(sources, manager) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1946, in load_graph caller_state=st, caller_line=st.dep_line_map.get(dep, 1)) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1466, in __init__ self.parse_file() File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1663, in parse_file self.ignore_all or self.options.ignore_errors) File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1554, in wrap_context yield File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1663, in parse_file self.ignore_all or self.options.ignore_errors) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 589, in parse_file tree = parse(source, path, self.errors, options=self.options) File "/path/py3env/lib/python3.5/site-packages/mypy/parse.py", line 25, in parse options=options) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 96, in parse ).visit(ast) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 169, in visit return super().visit(node) File "/path/py3env/lib/python3.5/site-packages/typed_ast/ast3.py", line 275, in visit return visitor(node) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 289, in visit_Module body = self.fix_function_overloads(self.translate_stmt_list(mod.body)) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 182, in translate_stmt_list stmt = self.visit(e) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 169, in visit return super().visit(node) File "/path/py3env/lib/python3.5/site-packages/typed_ast/ast3.py", line 275, in visit return visitor(node) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 126, in wrapper node = f(self, ast) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 654, in visit_ImportFrom assert n.module is not None AssertionError:
AssertionError
def visit_ImportFrom(self, n: ast27.ImportFrom) -> ImportBase: assert n.level is not None if len(n.names) == 1 and n.names[0].name == "*": mod = n.module if n.module is not None else "" i = ImportAll(mod, n.level) # type: ImportBase else: i = ImportFrom( self.translate_module_id(n.module) if n.module is not None else "", n.level, [(a.name, a.asname) for a in n.names], ) self.imports.append(i) return i
def visit_ImportFrom(self, n: ast27.ImportFrom) -> ImportBase: assert n.level is not None if len(n.names) == 1 and n.names[0].name == "*": assert n.module is not None i = ImportAll(n.module, n.level) # type: ImportBase else: i = ImportFrom( self.translate_module_id(n.module) if n.module is not None else "", n.level, [(a.name, a.asname) for a in n.names], ) self.imports.append(i) return i
https://github.com/python/mypy/issues/4111
Traceback (most recent call last): File "/path/py3env/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/path/py3env/lib/python3.5/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/path/py3env/lib/python3.5/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/path/py3env/lib/python3.5/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 198, in build graph = dispatch(sources, manager) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1833, in dispatch graph = load_graph(sources, manager) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1946, in load_graph caller_state=st, caller_line=st.dep_line_map.get(dep, 1)) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1466, in __init__ self.parse_file() File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1663, in parse_file self.ignore_all or self.options.ignore_errors) File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1554, in wrap_context yield File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 1663, in parse_file self.ignore_all or self.options.ignore_errors) File "/path/py3env/lib/python3.5/site-packages/mypy/build.py", line 589, in parse_file tree = parse(source, path, self.errors, options=self.options) File "/path/py3env/lib/python3.5/site-packages/mypy/parse.py", line 25, in parse options=options) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 96, in parse ).visit(ast) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 169, in visit return super().visit(node) File "/path/py3env/lib/python3.5/site-packages/typed_ast/ast3.py", line 275, in visit return visitor(node) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 289, in visit_Module body = self.fix_function_overloads(self.translate_stmt_list(mod.body)) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 182, in translate_stmt_list stmt = self.visit(e) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 169, in visit return super().visit(node) File "/path/py3env/lib/python3.5/site-packages/typed_ast/ast3.py", line 275, in visit return visitor(node) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 126, in wrapper node = f(self, ast) File "/path/py3env/lib/python3.5/site-packages/mypy/fastparse.py", line 654, in visit_ImportFrom assert n.module is not None AssertionError:
AssertionError
def check_func_def( self, defn: FuncItem, typ: CallableType, name: Optional[str] ) -> None: """Type check a function definition.""" # Expand type variables with value restrictions to ordinary types. for item, typ in self.expand_typevars(defn, typ): old_binder = self.binder self.binder = ConditionalTypeBinder() with self.binder.top_frame_context(): defn.expanded.append(item) # We may be checking a function definition or an anonymous # function. In the first case, set up another reference with the # precise type. if isinstance(item, FuncDef): fdef = item # Check if __init__ has an invalid, non-None return type. if ( fdef.info and fdef.name() in ("__init__", "__init_subclass__") and not isinstance(typ.ret_type, NoneTyp) and not self.dynamic_funcs[-1] ): self.fail( messages.MUST_HAVE_NONE_RETURN_TYPE.format(fdef.name()), item ) self.check_for_missing_annotations(fdef) if self.options.disallow_any_unimported: if fdef.type and isinstance(fdef.type, CallableType): ret_type = fdef.type.ret_type if has_any_from_unimported_type(ret_type): self.msg.unimported_type_becomes_any( "Return type", ret_type, fdef ) for idx, arg_type in enumerate(fdef.type.arg_types): if has_any_from_unimported_type(arg_type): prefix = 'Argument {} to "{}"'.format( idx + 1, fdef.name() ) self.msg.unimported_type_becomes_any( prefix, arg_type, fdef ) check_for_explicit_any( fdef.type, self.options, self.is_typeshed_stub, self.msg, context=fdef, ) if name: # Special method names if name in nodes.reverse_op_method_set: self.check_reverse_op_method(item, typ, name, defn) elif name in ("__getattr__", "__getattribute__"): self.check_getattr_method(typ, defn, name) elif name == "__setattr__": self.check_setattr_method(typ, defn) # Refuse contravariant return type variable if isinstance(typ.ret_type, TypeVarType): if typ.ret_type.variance == CONTRAVARIANT: self.fail( messages.RETURN_TYPE_CANNOT_BE_CONTRAVARIANT, typ.ret_type ) # Check that Generator functions have the appropriate return type. if defn.is_generator: if defn.is_async_generator: if not self.is_async_generator_return_type(typ.ret_type): self.fail(messages.INVALID_RETURN_TYPE_FOR_ASYNC_GENERATOR, typ) else: if not self.is_generator_return_type( typ.ret_type, defn.is_coroutine ): self.fail(messages.INVALID_RETURN_TYPE_FOR_GENERATOR, typ) # Python 2 generators aren't allowed to return values. if ( self.options.python_version[0] == 2 and isinstance(typ.ret_type, Instance) and typ.ret_type.type.fullname() == "typing.Generator" ): if not isinstance(typ.ret_type.args[2], (NoneTyp, AnyType)): self.fail(messages.INVALID_GENERATOR_RETURN_ITEM_TYPE, typ) # Fix the type if decorated with `@types.coroutine` or `@asyncio.coroutine`. if defn.is_awaitable_coroutine: # Update the return type to AwaitableGenerator. # (This doesn't exist in typing.py, only in typing.pyi.) t = typ.ret_type c = defn.is_coroutine ty = self.get_generator_yield_type(t, c) tc = self.get_generator_receive_type(t, c) tr = self.get_generator_return_type(t, c) ret_type = self.named_generic_type( "typing.AwaitableGenerator", [ty, tc, tr, t] ) typ = typ.copy_modified(ret_type=ret_type) defn.type = typ # Push return type. self.return_types.append(typ.ret_type) # Store argument types. for i in range(len(typ.arg_types)): arg_type = typ.arg_types[i] ref_type = self.scope.active_self_type() # type: Optional[Type] if ( isinstance(defn, FuncDef) and ref_type is not None and i == 0 and not defn.is_static and typ.arg_kinds[0] not in [nodes.ARG_STAR, nodes.ARG_STAR2] ): isclass = defn.is_class or defn.name() in ( "__new__", "__init_subclass__", ) if isclass: ref_type = mypy.types.TypeType.make_normalized(ref_type) erased = erase_to_bound(arg_type) if not is_subtype_ignoring_tvars(ref_type, erased): note = None if typ.arg_names[i] in ["self", "cls"]: if ( self.options.python_version[0] < 3 and is_same_type(erased, arg_type) and not isclass ): msg = ( "Invalid type for self, or extra argument type " "in function annotation" ) note = "(Hint: typically annotations omit the type for self)" else: msg = ( "The erased type of self '{}' " "is not a supertype of its class '{}'" ).format(erased, ref_type) else: msg = ( "Self argument missing for a non-static method " "(or an invalid type for self)" ) self.fail(msg, defn) if note: self.note(note, defn) if defn.is_class and isinstance(arg_type, CallableType): arg_type.is_classmethod_class = True elif isinstance(arg_type, TypeVarType): # Refuse covariant parameter type variables # TODO: check recursively for inner type variables if arg_type.variance == COVARIANT and defn.name() not in ( "__init__", "__new__", ): self.fail( messages.FUNCTION_PARAMETER_CANNOT_BE_COVARIANT, arg_type ) if typ.arg_kinds[i] == nodes.ARG_STAR: # builtins.tuple[T] is typing.Tuple[T, ...] arg_type = self.named_generic_type("builtins.tuple", [arg_type]) elif typ.arg_kinds[i] == nodes.ARG_STAR2: arg_type = self.named_generic_type( "builtins.dict", [self.str_type(), arg_type] ) item.arguments[i].variable.type = arg_type # Type check initialization expressions. for arg in item.arguments: if arg.initializer is not None: name = arg.variable.name() msg = "Incompatible default for " if name.startswith("__tuple_arg_"): msg += "tuple argument {}".format(name[12:]) else: msg += 'argument "{}"'.format(name) self.check_simple_assignment( arg.variable.type, arg.initializer, context=arg, msg=msg, lvalue_name="argument", rvalue_name="default", ) # Type check body in a new scope. with self.binder.top_frame_context(): with self.scope.push_function(defn): self.accept(item.body) unreachable = self.binder.is_unreachable() if self.options.warn_no_return and not unreachable: if defn.is_generator or is_named_instance( self.return_types[-1], "typing.AwaitableGenerator" ): return_type = self.get_generator_return_type( self.return_types[-1], defn.is_coroutine ) else: return_type = self.return_types[-1] if not isinstance( return_type, (NoneTyp, AnyType) ) and not self.is_trivial_body(defn.body): # Control flow fell off the end of a function that was # declared to return a non-None type and is not # entirely pass/Ellipsis. if isinstance(return_type, UninhabitedType): # This is a NoReturn function self.msg.note(messages.INVALID_IMPLICIT_RETURN, defn) else: self.msg.fail(messages.MISSING_RETURN_STATEMENT, defn) self.return_types.pop() self.binder = old_binder
def check_func_def( self, defn: FuncItem, typ: CallableType, name: Optional[str] ) -> None: """Type check a function definition.""" # Expand type variables with value restrictions to ordinary types. for item, typ in self.expand_typevars(defn, typ): old_binder = self.binder self.binder = ConditionalTypeBinder() with self.binder.top_frame_context(): defn.expanded.append(item) # We may be checking a function definition or an anonymous # function. In the first case, set up another reference with the # precise type. if isinstance(item, FuncDef): fdef = item # Check if __init__ has an invalid, non-None return type. if ( fdef.info and fdef.name() in ("__init__", "__init_subclass__") and not isinstance(typ.ret_type, NoneTyp) and not self.dynamic_funcs[-1] ): self.fail( messages.MUST_HAVE_NONE_RETURN_TYPE.format(fdef.name()), item ) self.check_for_missing_annotations(fdef) if self.options.disallow_any_unimported: if fdef.type and isinstance(fdef.type, CallableType): ret_type = fdef.type.ret_type if has_any_from_unimported_type(ret_type): self.msg.unimported_type_becomes_any( "Return type", ret_type, fdef ) for idx, arg_type in enumerate(fdef.type.arg_types): if has_any_from_unimported_type(arg_type): prefix = 'Argument {} to "{}"'.format( idx + 1, fdef.name() ) self.msg.unimported_type_becomes_any( prefix, arg_type, fdef ) check_for_explicit_any( fdef.type, self.options, self.is_typeshed_stub, self.msg, context=fdef, ) if name: # Special method names if name in nodes.reverse_op_method_set: self.check_reverse_op_method(item, typ, name) elif name in ("__getattr__", "__getattribute__"): self.check_getattr_method(typ, defn, name) elif name == "__setattr__": self.check_setattr_method(typ, defn) # Refuse contravariant return type variable if isinstance(typ.ret_type, TypeVarType): if typ.ret_type.variance == CONTRAVARIANT: self.fail( messages.RETURN_TYPE_CANNOT_BE_CONTRAVARIANT, typ.ret_type ) # Check that Generator functions have the appropriate return type. if defn.is_generator: if defn.is_async_generator: if not self.is_async_generator_return_type(typ.ret_type): self.fail(messages.INVALID_RETURN_TYPE_FOR_ASYNC_GENERATOR, typ) else: if not self.is_generator_return_type( typ.ret_type, defn.is_coroutine ): self.fail(messages.INVALID_RETURN_TYPE_FOR_GENERATOR, typ) # Python 2 generators aren't allowed to return values. if ( self.options.python_version[0] == 2 and isinstance(typ.ret_type, Instance) and typ.ret_type.type.fullname() == "typing.Generator" ): if not isinstance(typ.ret_type.args[2], (NoneTyp, AnyType)): self.fail(messages.INVALID_GENERATOR_RETURN_ITEM_TYPE, typ) # Fix the type if decorated with `@types.coroutine` or `@asyncio.coroutine`. if defn.is_awaitable_coroutine: # Update the return type to AwaitableGenerator. # (This doesn't exist in typing.py, only in typing.pyi.) t = typ.ret_type c = defn.is_coroutine ty = self.get_generator_yield_type(t, c) tc = self.get_generator_receive_type(t, c) tr = self.get_generator_return_type(t, c) ret_type = self.named_generic_type( "typing.AwaitableGenerator", [ty, tc, tr, t] ) typ = typ.copy_modified(ret_type=ret_type) defn.type = typ # Push return type. self.return_types.append(typ.ret_type) # Store argument types. for i in range(len(typ.arg_types)): arg_type = typ.arg_types[i] ref_type = self.scope.active_self_type() # type: Optional[Type] if ( isinstance(defn, FuncDef) and ref_type is not None and i == 0 and not defn.is_static and typ.arg_kinds[0] not in [nodes.ARG_STAR, nodes.ARG_STAR2] ): isclass = defn.is_class or defn.name() in ( "__new__", "__init_subclass__", ) if isclass: ref_type = mypy.types.TypeType.make_normalized(ref_type) erased = erase_to_bound(arg_type) if not is_subtype_ignoring_tvars(ref_type, erased): note = None if typ.arg_names[i] in ["self", "cls"]: if ( self.options.python_version[0] < 3 and is_same_type(erased, arg_type) and not isclass ): msg = ( "Invalid type for self, or extra argument type " "in function annotation" ) note = "(Hint: typically annotations omit the type for self)" else: msg = ( "The erased type of self '{}' " "is not a supertype of its class '{}'" ).format(erased, ref_type) else: msg = ( "Self argument missing for a non-static method " "(or an invalid type for self)" ) self.fail(msg, defn) if note: self.note(note, defn) if defn.is_class and isinstance(arg_type, CallableType): arg_type.is_classmethod_class = True elif isinstance(arg_type, TypeVarType): # Refuse covariant parameter type variables # TODO: check recursively for inner type variables if arg_type.variance == COVARIANT and defn.name() not in ( "__init__", "__new__", ): self.fail( messages.FUNCTION_PARAMETER_CANNOT_BE_COVARIANT, arg_type ) if typ.arg_kinds[i] == nodes.ARG_STAR: # builtins.tuple[T] is typing.Tuple[T, ...] arg_type = self.named_generic_type("builtins.tuple", [arg_type]) elif typ.arg_kinds[i] == nodes.ARG_STAR2: arg_type = self.named_generic_type( "builtins.dict", [self.str_type(), arg_type] ) item.arguments[i].variable.type = arg_type # Type check initialization expressions. for arg in item.arguments: if arg.initializer is not None: name = arg.variable.name() msg = "Incompatible default for " if name.startswith("__tuple_arg_"): msg += "tuple argument {}".format(name[12:]) else: msg += 'argument "{}"'.format(name) self.check_simple_assignment( arg.variable.type, arg.initializer, context=arg, msg=msg, lvalue_name="argument", rvalue_name="default", ) # Type check body in a new scope. with self.binder.top_frame_context(): with self.scope.push_function(defn): self.accept(item.body) unreachable = self.binder.is_unreachable() if self.options.warn_no_return and not unreachable: if defn.is_generator or is_named_instance( self.return_types[-1], "typing.AwaitableGenerator" ): return_type = self.get_generator_return_type( self.return_types[-1], defn.is_coroutine ) else: return_type = self.return_types[-1] if not isinstance( return_type, (NoneTyp, AnyType) ) and not self.is_trivial_body(defn.body): # Control flow fell off the end of a function that was # declared to return a non-None type and is not # entirely pass/Ellipsis. if isinstance(return_type, UninhabitedType): # This is a NoReturn function self.msg.note(messages.INVALID_IMPLICIT_RETURN, defn) else: self.msg.fail(messages.MISSING_RETURN_STATEMENT, defn) self.return_types.pop() self.binder = old_binder
https://github.com/python/mypy/issues/4241
rmul_crash.py:4: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.550 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 119, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 214, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1935, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2199, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2327, in process_stale_scc graph[id].type_check_first_pass() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1836, in type_check_first_pass self.type_checker.check_first_pass() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 196, in check_first_pass self.accept(d) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 690, in accept return visitor.visit_class_def(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 1185, in visit_class_def self.accept(defn.defs) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_block(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 1305, in visit_block self.accept(s) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 496, in accept return visitor.visit_func_def(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 531, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 591, in check_func_item self.check_func_def(defn, typ, name) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 641, in check_func_def self.check_reverse_op_method(item, typ, name) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 841, in check_reverse_op_method arg_type = typ.arg_types[1] IndexError: list index out of range rmul_crash.py:4: : note: use --pdb to drop into pdb
IndexError
def check_reverse_op_method( self, defn: FuncItem, typ: CallableType, method: str, context: Context ) -> None: """Check a reverse operator method such as __radd__.""" # This used to check for some very obscure scenario. It now # just decides whether it's worth calling # check_overlapping_op_methods(). # First check for a valid signature method_type = CallableType( [AnyType(TypeOfAny.special_form), AnyType(TypeOfAny.special_form)], [nodes.ARG_POS, nodes.ARG_POS], [None, None], AnyType(TypeOfAny.special_form), self.named_type("builtins.function"), ) if not is_subtype(typ, method_type): self.msg.invalid_signature(typ, context) return if method in ("__eq__", "__ne__"): # These are defined for all objects => can't cause trouble. return # With 'Any' or 'object' return type we are happy, since any possible # return value is valid. ret_type = typ.ret_type if isinstance(ret_type, AnyType): return if isinstance(ret_type, Instance): if ret_type.type.fullname() == "builtins.object": return if len(typ.arg_types) == 2: # TODO check self argument kind # Check for the issue described above. arg_type = typ.arg_types[1] other_method = nodes.normal_from_reverse_op[method] if isinstance(arg_type, Instance): if not arg_type.type.has_readable_member(other_method): return elif isinstance(arg_type, AnyType): return elif isinstance(arg_type, UnionType): if not arg_type.has_readable_member(other_method): return else: return typ2 = self.expr_checker.analyze_external_member_access( other_method, arg_type, defn ) self.check_overlapping_op_methods( typ, method, defn.info, typ2, other_method, cast(Instance, arg_type), defn )
def check_reverse_op_method( self, defn: FuncItem, typ: CallableType, method: str ) -> None: """Check a reverse operator method such as __radd__.""" # This used to check for some very obscure scenario. It now # just decides whether it's worth calling # check_overlapping_op_methods(). if method in ("__eq__", "__ne__"): # These are defined for all objects => can't cause trouble. return # With 'Any' or 'object' return type we are happy, since any possible # return value is valid. ret_type = typ.ret_type if isinstance(ret_type, AnyType): return if isinstance(ret_type, Instance): if ret_type.type.fullname() == "builtins.object": return # Plausibly the method could have too few arguments, which would result # in an error elsewhere. if len(typ.arg_types) <= 2: # TODO check self argument kind # Check for the issue described above. arg_type = typ.arg_types[1] other_method = nodes.normal_from_reverse_op[method] if isinstance(arg_type, Instance): if not arg_type.type.has_readable_member(other_method): return elif isinstance(arg_type, AnyType): return elif isinstance(arg_type, UnionType): if not arg_type.has_readable_member(other_method): return else: return typ2 = self.expr_checker.analyze_external_member_access( other_method, arg_type, defn ) self.check_overlapping_op_methods( typ, method, defn.info, typ2, other_method, cast(Instance, arg_type), defn )
https://github.com/python/mypy/issues/4241
rmul_crash.py:4: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.550 Traceback (most recent call last): File "/Users/joshstaiger/anaconda/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 66, in main res = type_check_only(sources, bin_dir, options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/main.py", line 119, in type_check_only options=options) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 214, in build graph = dispatch(sources, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1935, in dispatch process_graph(graph, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2199, in process_graph process_stale_scc(graph, scc, manager) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 2327, in process_stale_scc graph[id].type_check_first_pass() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/build.py", line 1836, in type_check_first_pass self.type_checker.check_first_pass() File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 196, in check_first_pass self.accept(d) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 690, in accept return visitor.visit_class_def(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 1185, in visit_class_def self.accept(defn.defs) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 750, in accept return visitor.visit_block(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 1305, in visit_block self.accept(s) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 283, in accept stmt.accept(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/nodes.py", line 496, in accept return visitor.visit_func_def(self) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 531, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 591, in check_func_item self.check_func_def(defn, typ, name) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 641, in check_func_def self.check_reverse_op_method(item, typ, name) File "/Users/joshstaiger/anaconda/lib/python3.6/site-packages/mypy/checker.py", line 841, in check_reverse_op_method arg_type = typ.arg_types[1] IndexError: list index out of range rmul_crash.py:4: : note: use --pdb to drop into pdb
IndexError
def handle_cannot_determine_type(self, name: str, context: Context) -> None: node = self.scope.top_non_lambda_function() if self.pass_num < LAST_PASS and isinstance(node, FuncDef): # Don't report an error yet. Just defer. Note that we don't defer # lambdas because they are coupled to the surrounding function # through the binder and the inferred type of the lambda, so it # would get messy. if self.errors.type_name: type_name = self.errors.type_name[-1] else: type_name = None # Shouldn't we freeze the entire scope? enclosing_class = self.scope.enclosing_class() self.deferred_nodes.append(DeferredNode(node, type_name, enclosing_class)) # Set a marker so that we won't infer additional types in this # function. Any inferred types could be bogus, because there's at # least one type that we don't know. self.current_node_deferred = True else: self.msg.cannot_determine_type(name, context)
def handle_cannot_determine_type(self, name: str, context: Context) -> None: node = self.scope.top_function() if self.pass_num < LAST_PASS and isinstance(node, (FuncDef, LambdaExpr)): # Don't report an error yet. Just defer. if self.errors.type_name: type_name = self.errors.type_name[-1] else: type_name = None # Shouldn't we freeze the entire scope? enclosing_class = self.scope.enclosing_class() self.deferred_nodes.append(DeferredNode(node, type_name, enclosing_class)) # Set a marker so that we won't infer additional types in this # function. Any inferred types could be bogus, because there's at # least one type that we don't know. self.current_node_deferred = True else: self.msg.cannot_determine_type(name, context)
https://github.com/python/mypy/issues/3672
~/s/px (python|●2✚1) $ mypy --show-traceback --check-untyped-defs --ignore-missing-imports *.py */*.py px/px_terminal.py:23: error: Incompatible types in assignment (expression has type "int", variable has type "str") px/px_terminal.py:24: error: Unsupported operand types for > ("int" and "str") px/px_terminal.py:29: error: Incompatible types in assignment (expression has type "int", variable has type "str") px/px_terminal.py:30: error: Unsupported operand types for > ("int" and "str") px/px_ipc_map.py:45: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.511 Traceback (most recent call last): File "/usr/local/bin/mypy", line 6, in <module> main(__file__) File "/usr/local/lib/python3.6/site-packages/mypy/main.py", line 46, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/lib/python3.6/site-packages/mypy/main.py", line 93, in type_check_only options=options) File "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 188, in build graph = dispatch(sources, manager) File "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 1595, in dispatch process_graph(graph, manager) File "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 1838, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 1942, in process_stale_scc if graph[id].type_check_second_pass(): File "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 1516, in type_check_second_pass return self.type_checker.check_second_pass() File "/usr/local/lib/python3.6/site-packages/mypy/checker.py", line 219, in check_second_pass self.check_partial(node) File "/usr/local/lib/python3.6/site-packages/mypy/checker.py", line 226, in check_partial self.expr_checker.accept(node) File "/usr/local/lib/python3.6/site-packages/mypy/checkexpr.py", line 2058, in accept typ = node.accept(self) File "/usr/local/lib/python3.6/site-packages/mypy/nodes.py", line 1548, in accept return visitor.visit_lambda_expr(self) File "/usr/local/lib/python3.6/site-packages/mypy/checkexpr.py", line 1792, in visit_lambda_expr ret_type = self.accept(e.expr(), allow_none_return=True) File "/usr/local/lib/python3.6/site-packages/mypy/checkexpr.py", line 2058, in accept typ = node.accept(self) File "/usr/local/lib/python3.6/site-packages/mypy/nodes.py", line 1451, in accept return visitor.visit_op_expr(self) File "/usr/local/lib/python3.6/site-packages/mypy/checkexpr.py", line 1137, in visit_op_expr return self.check_boolean_op(e, e) File "/usr/local/lib/python3.6/site-packages/mypy/checkexpr.py", line 1370, in check_boolean_op right_type = self.analyze_cond_branch(right_map, e.right, left_type) File "/usr/local/lib/python3.6/site-packages/mypy/checkexpr.py", line 2025, in analyze_cond_branch with self.chk.binder.frame_context(can_skip=True, fall_through=0): File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 82, in __enter__ return next(self.gen) File "/usr/local/lib/python3.6/site-packages/mypy/binder.py", line 312, in frame_context assert len(self.frames) > 1 AssertionError: px/px_ipc_map.py:45: note: use --pdb to drop into pdb ~/s/px (python|●2✚1) $
AssertionError
def __init__(self, name: str, old_type: "Optional[mypy.types.Type]", line: int) -> None: self.name = name self.old_type = old_type self.line = line
def __init__(self, name: str, old_type: "Optional[mypy.types.Type]", line: int) -> None: self.name = name self.old_type = old_type
https://github.com/python/mypy/issues/4097
Traceback (most recent call last): File "/Users/daenyth/Curata/cmp/.tox/mypy/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 198, in build graph = dispatch(sources, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1841, in dispatch process_graph(graph, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2091, in process_graph process_stale_scc(graph, scc, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2203, in process_stale_scc graph[id].write_cache() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1822, in write_cache self.manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1088, in write_cache data = tree.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 238, in serialize 'names': self.names.serialize(self._fullname), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2194, in serialize 'names': self.names.serialize(self.fullname()), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 533, in serialize 'type': None if self.type is None else self.type.serialize(), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in serialize 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in <listcomp> 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in serialize data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in <listcomp> data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in serialize 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in <listcomp> 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 1410, in serialize assert False, "Internal error: Unresolved forward reference to {}".format(name) AssertionError: Internal error: Unresolved forward reference to UnboundType
AssertionError
def visit_class_def(self, tdef: ClassDef) -> None: # NamedTuple base classes are validated in check_namedtuple_classdef; we don't have to # check them again here. if not tdef.info.is_named_tuple: types = list(tdef.info.bases) # type: List[Type] for tvar in tdef.type_vars: if tvar.upper_bound: types.append(tvar.upper_bound) if tvar.values: types.extend(tvar.values) self.analyze_types(types, tdef.info) for type in tdef.info.bases: if tdef.info.is_protocol: if not isinstance(type, Instance) or not type.type.is_protocol: if type.type.fullname() != "builtins.object": self.fail("All bases of a protocol must be protocols", tdef) # Recompute MRO now that we have analyzed all modules, to pick # up superclasses of bases imported from other modules in an # import loop. (Only do so if we succeeded the first time.) if tdef.info.mro: tdef.info.mro = [] # Force recomputation mypy.semanal.calculate_class_mro(tdef, self.fail_blocker) if tdef.info.is_protocol: add_protocol_members(tdef.info) if tdef.analyzed is not None: # Also check synthetic types associated with this ClassDef. # Currently these are TypedDict, and NamedTuple. if isinstance(tdef.analyzed, TypedDictExpr): self.analyze(tdef.analyzed.info.typeddict_type, tdef.analyzed, warn=True) elif isinstance(tdef.analyzed, NamedTupleExpr): self.analyze(tdef.analyzed.info.tuple_type, tdef.analyzed, warn=True) self.analyze_info(tdef.analyzed.info) super().visit_class_def(tdef)
def visit_class_def(self, tdef: ClassDef) -> None: # NamedTuple base classes are validated in check_namedtuple_classdef; we don't have to # check them again here. if not tdef.info.is_named_tuple: types = list(tdef.info.bases) # type: List[Type] for tvar in tdef.type_vars: if tvar.upper_bound: types.append(tvar.upper_bound) if tvar.values: types.extend(tvar.values) self.analyze_types(types, tdef.info) for type in tdef.info.bases: if tdef.info.is_protocol: if not isinstance(type, Instance) or not type.type.is_protocol: if type.type.fullname() != "builtins.object": self.fail("All bases of a protocol must be protocols", tdef) # Recompute MRO now that we have analyzed all modules, to pick # up superclasses of bases imported from other modules in an # import loop. (Only do so if we succeeded the first time.) if tdef.info.mro: tdef.info.mro = [] # Force recomputation mypy.semanal.calculate_class_mro(tdef, self.fail_blocker) if tdef.info.is_protocol: add_protocol_members(tdef.info) if tdef.analyzed is not None: # Also check synthetic types associated with this ClassDef. # Currently these are TypedDict, and NamedTuple. if isinstance(tdef.analyzed, TypedDictExpr): self.analyze(tdef.analyzed.info.typeddict_type, tdef.analyzed, warn=True) elif isinstance(tdef.analyzed, NamedTupleExpr): self.analyze(tdef.analyzed.info.tuple_type, tdef.analyzed, warn=True) for name in tdef.analyzed.info.names: sym = tdef.analyzed.info.names[name] if isinstance(sym.node, (FuncDef, Decorator)): self.accept(sym.node) if isinstance(sym.node, Var): self.analyze(sym.node.type, sym.node) super().visit_class_def(tdef)
https://github.com/python/mypy/issues/4097
Traceback (most recent call last): File "/Users/daenyth/Curata/cmp/.tox/mypy/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 198, in build graph = dispatch(sources, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1841, in dispatch process_graph(graph, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2091, in process_graph process_stale_scc(graph, scc, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2203, in process_stale_scc graph[id].write_cache() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1822, in write_cache self.manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1088, in write_cache data = tree.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 238, in serialize 'names': self.names.serialize(self._fullname), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2194, in serialize 'names': self.names.serialize(self.fullname()), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 533, in serialize 'type': None if self.type is None else self.type.serialize(), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in serialize 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in <listcomp> 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in serialize data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in <listcomp> data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in serialize 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in <listcomp> 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 1410, in serialize assert False, "Internal error: Unresolved forward reference to {}".format(name) AssertionError: Internal error: Unresolved forward reference to UnboundType
AssertionError
def visit_assignment_stmt(self, s: AssignmentStmt) -> None: """Traverse the assignment statement. This includes the actual assignment and synthetic types resulted from this assignment (if any). Currently this includes NewType, TypedDict, NamedTuple, and TypeVar. """ self.analyze(s.type, s) if isinstance(s.rvalue, IndexExpr) and isinstance(s.rvalue.analyzed, TypeAliasExpr): self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) if isinstance(s.rvalue, CallExpr): analyzed = s.rvalue.analyzed if isinstance(analyzed, NewTypeExpr): self.analyze(analyzed.old_type, analyzed) if analyzed.info: # Currently NewTypes only have __init__, but to be future proof, # we analyze all symbols. self.analyze_info(analyzed.info) if analyzed.info and analyzed.info.mro: analyzed.info.mro = [] # Force recomputation mypy.semanal.calculate_class_mro(analyzed.info.defn, self.fail_blocker) if isinstance(analyzed, TypeVarExpr): types = [] if analyzed.upper_bound: types.append(analyzed.upper_bound) if analyzed.values: types.extend(analyzed.values) self.analyze_types(types, analyzed) if isinstance(analyzed, TypedDictExpr): self.analyze(analyzed.info.typeddict_type, analyzed, warn=True) if isinstance(analyzed, NamedTupleExpr): self.analyze(analyzed.info.tuple_type, analyzed, warn=True) self.analyze_info(analyzed.info) # We need to pay additional attention to assignments that define a type alias. # The resulting type is also stored in the 'type_override' attribute of # the corresponding SymbolTableNode. if isinstance(s.lvalues[0], RefExpr) and isinstance(s.lvalues[0].node, Var): self.analyze(s.lvalues[0].node.type, s.lvalues[0].node) if isinstance(s.lvalues[0], NameExpr): node = self.sem.lookup(s.lvalues[0].name, s, suppress_errors=True) if node: self.analyze(node.type_override, node) super().visit_assignment_stmt(s)
def visit_assignment_stmt(self, s: AssignmentStmt) -> None: """Traverse the assignment statement. This includes the actual assignment and synthetic types resulted from this assignment (if any). Currently this includes NewType, TypedDict, NamedTuple, and TypeVar. """ self.analyze(s.type, s) if isinstance(s.rvalue, IndexExpr) and isinstance(s.rvalue.analyzed, TypeAliasExpr): self.analyze(s.rvalue.analyzed.type, s.rvalue.analyzed, warn=True) if isinstance(s.rvalue, CallExpr): analyzed = s.rvalue.analyzed if isinstance(analyzed, NewTypeExpr): self.analyze(analyzed.old_type, analyzed) if analyzed.info and analyzed.info.mro: analyzed.info.mro = [] # Force recomputation mypy.semanal.calculate_class_mro(analyzed.info.defn, self.fail_blocker) if isinstance(analyzed, TypeVarExpr): types = [] if analyzed.upper_bound: types.append(analyzed.upper_bound) if analyzed.values: types.extend(analyzed.values) self.analyze_types(types, analyzed) if isinstance(analyzed, TypedDictExpr): self.analyze(analyzed.info.typeddict_type, analyzed, warn=True) if isinstance(analyzed, NamedTupleExpr): self.analyze(analyzed.info.tuple_type, analyzed, warn=True) for name in analyzed.info.names: sym = analyzed.info.names[name] if isinstance(sym.node, (FuncDef, Decorator)): self.accept(sym.node) if isinstance(sym.node, Var): self.analyze(sym.node.type, sym.node) # We need to pay additional attention to assignments that define a type alias. # The resulting type is also stored in the 'type_override' attribute of # the corresponding SymbolTableNode. if isinstance(s.lvalues[0], RefExpr) and isinstance(s.lvalues[0].node, Var): self.analyze(s.lvalues[0].node.type, s.lvalues[0].node) if isinstance(s.lvalues[0], NameExpr): node = self.sem.lookup(s.lvalues[0].name, s, suppress_errors=True) if node: self.analyze(node.type_override, node) super().visit_assignment_stmt(s)
https://github.com/python/mypy/issues/4097
Traceback (most recent call last): File "/Users/daenyth/Curata/cmp/.tox/mypy/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 198, in build graph = dispatch(sources, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1841, in dispatch process_graph(graph, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2091, in process_graph process_stale_scc(graph, scc, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2203, in process_stale_scc graph[id].write_cache() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1822, in write_cache self.manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1088, in write_cache data = tree.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 238, in serialize 'names': self.names.serialize(self._fullname), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2194, in serialize 'names': self.names.serialize(self.fullname()), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 533, in serialize 'type': None if self.type is None else self.type.serialize(), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in serialize 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in <listcomp> 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in serialize data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in <listcomp> data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in serialize 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in <listcomp> 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 1410, in serialize assert False, "Internal error: Unresolved forward reference to {}".format(name) AssertionError: Internal error: Unresolved forward reference to UnboundType
AssertionError
def perform_transform( self, node: Union[Node, SymbolTableNode], transform: Callable[[Type], Type] ) -> None: """Apply transform to all types associated with node.""" if isinstance(node, ForStmt): if node.index_type: node.index_type = transform(node.index_type) self.transform_types_in_lvalue(node.index, transform) if isinstance(node, WithStmt): if node.target_type: node.target_type = transform(node.target_type) for n in node.target: if isinstance(n, NameExpr) and isinstance(n.node, Var) and n.node.type: n.node.type = transform(n.node.type) if isinstance( node, (FuncDef, OverloadedFuncDef, CastExpr, AssignmentStmt, TypeAliasExpr, Var) ): assert node.type, "Scheduled patch for non-existent type" node.type = transform(node.type) if isinstance(node, NewTypeExpr): assert node.old_type, "Scheduled patch for non-existent type" node.old_type = transform(node.old_type) if node.info: new_bases = [] # type: List[Instance] for b in node.info.bases: new_b = transform(b) # TODO: this code can be combined with code in second pass. if isinstance(new_b, Instance): new_bases.append(new_b) elif isinstance(new_b, TupleType): new_bases.append(new_b.fallback) else: self.fail( "Argument 2 to NewType(...) must be subclassable" " (got {})".format(new_b), node, ) new_bases.append(self.builtin_type("object")) node.info.bases = new_bases if isinstance(node, TypeVarExpr): if node.upper_bound: node.upper_bound = transform(node.upper_bound) if node.values: node.values = [transform(v) for v in node.values] if isinstance(node, TypedDictExpr): assert node.info.typeddict_type, "Scheduled patch for non-existent type" node.info.typeddict_type = cast( TypedDictType, transform(node.info.typeddict_type) ) if isinstance(node, NamedTupleExpr): assert node.info.tuple_type, "Scheduled patch for non-existent type" node.info.tuple_type = cast(TupleType, transform(node.info.tuple_type)) if isinstance(node, TypeApplication): node.types = [transform(t) for t in node.types] if isinstance(node, SymbolTableNode): assert node.type_override, "Scheduled patch for non-existent type" node.type_override = transform(node.type_override) if isinstance(node, TypeInfo): for tvar in node.defn.type_vars: if tvar.upper_bound: tvar.upper_bound = transform(tvar.upper_bound) if tvar.values: tvar.values = [transform(v) for v in tvar.values] new_bases = [] for base in node.bases: new_base = transform(base) if isinstance(new_base, Instance): new_bases.append(new_base) else: # Don't fix the NamedTuple bases, they are Instance's intentionally. # Patch the 'args' just in case, although generic tuple types are # not supported yet. alt_base = Instance(base.type, [transform(a) for a in base.args]) new_bases.append(alt_base) node.bases = new_bases
def perform_transform( self, node: Union[Node, SymbolTableNode], transform: Callable[[Type], Type] ) -> None: """Apply transform to all types associated with node.""" if isinstance(node, ForStmt): if node.index_type: node.index_type = transform(node.index_type) self.transform_types_in_lvalue(node.index, transform) if isinstance(node, WithStmt): if node.target_type: node.target_type = transform(node.target_type) for n in node.target: if isinstance(n, NameExpr) and isinstance(n.node, Var) and n.node.type: n.node.type = transform(n.node.type) if isinstance(node, (FuncDef, CastExpr, AssignmentStmt, TypeAliasExpr, Var)): assert node.type, "Scheduled patch for non-existent type" node.type = transform(node.type) if isinstance(node, NewTypeExpr): assert node.old_type, "Scheduled patch for non-existent type" node.old_type = transform(node.old_type) if isinstance(node, TypeVarExpr): if node.upper_bound: node.upper_bound = transform(node.upper_bound) if node.values: node.values = [transform(v) for v in node.values] if isinstance(node, TypedDictExpr): assert node.info.typeddict_type, "Scheduled patch for non-existent type" node.info.typeddict_type = cast( TypedDictType, transform(node.info.typeddict_type) ) if isinstance(node, NamedTupleExpr): assert node.info.tuple_type, "Scheduled patch for non-existent type" node.info.tuple_type = cast(TupleType, transform(node.info.tuple_type)) if isinstance(node, TypeApplication): node.types = [transform(t) for t in node.types] if isinstance(node, SymbolTableNode): assert node.type_override, "Scheduled patch for non-existent type" node.type_override = transform(node.type_override) if isinstance(node, TypeInfo): for tvar in node.defn.type_vars: if tvar.upper_bound: tvar.upper_bound = transform(tvar.upper_bound) if tvar.values: tvar.values = [transform(v) for v in tvar.values] new_bases = [] for base in node.bases: new_base = transform(base) if isinstance(new_base, Instance): new_bases.append(new_base) else: # Don't fix the NamedTuple bases, they are Instance's intentionally. # Patch the 'args' just in case, although generic tuple type are # not supported yet. alt_base = Instance(base.type, [transform(a) for a in base.args]) new_bases.append(alt_base) node.bases = new_bases
https://github.com/python/mypy/issues/4097
Traceback (most recent call last): File "/Users/daenyth/Curata/cmp/.tox/mypy/bin/mypy", line 11, in <module> sys.exit(console_entry()) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/main.py", line 103, in type_check_only options=options) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 198, in build graph = dispatch(sources, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1841, in dispatch process_graph(graph, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2091, in process_graph process_stale_scc(graph, scc, manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 2203, in process_stale_scc graph[id].write_cache() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1822, in write_cache self.manager) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/build.py", line 1088, in write_cache data = tree.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 238, in serialize 'names': self.names.serialize(self._fullname), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2194, in serialize 'names': self.names.serialize(self.fullname()), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2432, in serialize data[key] = value.serialize(fullname, key) File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 2371, in serialize data['node'] = self.node.serialize() File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/nodes.py", line 533, in serialize 'type': None if self.type is None else self.type.serialize(), File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in serialize 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 857, in <listcomp> 'arg_types': [t.serialize() for t in self.arg_types], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in serialize data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 496, in <listcomp> data['args'] = [arg.serialize() for arg in self.args] File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in serialize 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 994, in <listcomp> 'items': [t.serialize() for t in self.items], File "/Users/daenyth/Curata/cmp/.tox/mypy/lib/python3.6/site-packages/mypy/types.py", line 1410, in serialize assert False, "Internal error: Unresolved forward reference to {}".format(name) AssertionError: Internal error: Unresolved forward reference to UnboundType
AssertionError
def analyze_ref_expr(self, e: RefExpr, lvalue: bool = False) -> Type: result = None # type: Optional[Type] node = e.node if isinstance(node, Var): # Variable reference. result = self.analyze_var_ref(node, e) if isinstance(result, PartialType): if result.type is None: # 'None' partial type. It has a well-defined type. In an lvalue context # we want to preserve the knowledge of it being a partial type. if not lvalue: result = NoneTyp() else: partial_types = self.chk.find_partial_types(node) if partial_types is not None and not self.chk.current_node_deferred: context = partial_types[node] self.msg.fail(messages.NEED_ANNOTATION_FOR_VAR, context) result = AnyType(TypeOfAny.special_form) elif isinstance(node, FuncDef): # Reference to a global function. result = function_type(node, self.named_type("builtins.function")) elif isinstance(node, OverloadedFuncDef) and node.type is not None: # node.type is None when there are multiple definitions of a function # and it's decorated by somthing that is not typing.overload result = node.type elif isinstance(node, TypeInfo): # Reference to a type object. result = type_object_type(node, self.named_type) if isinstance(self.type_context[-1], TypeType): # This is the type in a Type[] expression, so substitute type # variables with Any. result = erasetype.erase_typevars(result) elif isinstance(node, MypyFile): # Reference to a module object. try: result = self.named_type("types.ModuleType") except KeyError: # In test cases might 'types' may not be available. # Fall back to a dummy 'object' type instead to # avoid a crash. result = self.named_type("builtins.object") elif isinstance(node, Decorator): result = self.analyze_var_ref(node.var, e) else: # Unknown reference; use any type implicitly to avoid # generating extra type errors. result = AnyType(TypeOfAny.from_error) assert result is not None return result
def analyze_ref_expr(self, e: RefExpr, lvalue: bool = False) -> Type: result = None # type: Optional[Type] node = e.node if isinstance(node, Var): # Variable reference. result = self.analyze_var_ref(node, e) if isinstance(result, PartialType): if result.type is None: # 'None' partial type. It has a well-defined type. In an lvalue context # we want to preserve the knowledge of it being a partial type. if not lvalue: result = NoneTyp() else: partial_types = self.chk.find_partial_types(node) if partial_types is not None and not self.chk.current_node_deferred: context = partial_types[node] self.msg.fail(messages.NEED_ANNOTATION_FOR_VAR, context) result = AnyType(TypeOfAny.special_form) elif isinstance(node, FuncDef): # Reference to a global function. result = function_type(node, self.named_type("builtins.function")) elif isinstance(node, OverloadedFuncDef): result = node.type elif isinstance(node, TypeInfo): # Reference to a type object. result = type_object_type(node, self.named_type) if isinstance(self.type_context[-1], TypeType): # This is the type in a Type[] expression, so substitute type # variables with Any. result = erasetype.erase_typevars(result) elif isinstance(node, MypyFile): # Reference to a module object. try: result = self.named_type("types.ModuleType") except KeyError: # In test cases might 'types' may not be available. # Fall back to a dummy 'object' type instead to # avoid a crash. result = self.named_type("builtins.object") elif isinstance(node, Decorator): result = self.analyze_var_ref(node.var, e) else: # Unknown reference; use any type implicitly to avoid # generating extra type errors. result = AnyType(TypeOfAny.from_error) assert result is not None return result
https://github.com/python/mypy/issues/3574
.\break_mypy.py:5: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.511 Traceback (most recent call last): File "C:\Anaconda3\Scripts\mypy", line 6, in <module> main(__file__) File "C:\Anaconda3\lib\site-packages\mypy\main.py", line 46, in main res = type_check_only(sources, bin_dir, options) File "C:\Anaconda3\lib\site-packages\mypy\main.py", line 93, in type_check_only options=options) File "C:\Anaconda3\lib\site-packages\mypy\build.py", line 188, in build graph = dispatch(sources, manager) File "C:\Anaconda3\lib\site-packages\mypy\build.py", line 1595, in dispatch process_graph(graph, manager) File "C:\Anaconda3\lib\site-packages\mypy\build.py", line 1838, in process_graph process_stale_scc(graph, scc, manager) File "C:\Anaconda3\lib\site-packages\mypy\build.py", line 1937, in process_stale_scc graph[id].type_check_first_pass() File "C:\Anaconda3\lib\site-packages\mypy\build.py", line 1510, in type_check_first_pass self.type_checker.check_first_pass() File "C:\Anaconda3\lib\site-packages\mypy\checker.py", line 177, in check_first_pass self.accept(d) File "C:\Anaconda3\lib\site-packages\mypy\checker.py", line 264, in accept stmt.accept(self) File "C:\Anaconda3\lib\site-packages\mypy\nodes.py", line 855, in accept return visitor.visit_assignment_stmt(self) File "C:\Anaconda3\lib\site-packages\mypy\checker.py", line 1180, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "C:\Anaconda3\lib\site-packages\mypy\checker.py", line 1260, in check_assignment self.infer_variable_type(inferred, lvalue, self.expr_checker.accept(rvalue), File "C:\Anaconda3\lib\site-packages\mypy\checkexpr.py", line 2058, in accept typ = node.accept(self) File "C:\Anaconda3\lib\site-packages\mypy\nodes.py", line 1215, in accept return visitor.visit_name_expr(self) File "C:\Anaconda3\lib\site-packages\mypy\checkexpr.py", line 122, in visit_name_expr result = self.analyze_ref_expr(e) File "C:\Anaconda3\lib\site-packages\mypy\checkexpr.py", line 160, in analyze_ref_expr assert result is not None AssertionError:
AssertionError
def assign_type( self, expr: Expression, type: Type, declared_type: Optional[Type], restrict_any: bool = False, ) -> None: if self.type_assignments is not None: # We are in a multiassign from union, defer the actual binding, # just collect the types. self.type_assignments[expr].append((type, declared_type)) return if not isinstance(expr, BindableTypes): return None if not literal(expr): return self.invalidate_dependencies(expr) if declared_type is None: # Not sure why this happens. It seems to mainly happen in # member initialization. return if not is_subtype(type, declared_type): # Pretty sure this is only happens when there's a type error. # Ideally this function wouldn't be called if the # expression has a type error, though -- do other kinds of # errors cause this function to get called at invalid # times? return enclosing_type = self.most_recent_enclosing_type(expr, type) if isinstance(enclosing_type, AnyType) and not restrict_any: # If x is Any and y is int, after x = y we do not infer that x is int. # This could be changed. if not isinstance(type, AnyType): # We narrowed type from Any in a recent frame (probably an # isinstance check), but now it is reassigned, so broaden back # to Any (which is the most recent enclosing type) self.put(expr, enclosing_type) elif isinstance(type, AnyType) and not ( isinstance(declared_type, UnionType) and any(isinstance(item, AnyType) for item in declared_type.items) ): # Assigning an Any value doesn't affect the type to avoid false negatives, unless # there is an Any item in a declared union type. self.put(expr, declared_type) else: self.put(expr, type) for i in self.try_frames: # XXX This should probably not copy the entire frame, but # just copy this variable into a single stored frame. self.allow_jump(i)
def assign_type( self, expr: Expression, type: Type, declared_type: Optional[Type], restrict_any: bool = False, ) -> None: if not isinstance(expr, BindableTypes): return None if not literal(expr): return self.invalidate_dependencies(expr) if declared_type is None: # Not sure why this happens. It seems to mainly happen in # member initialization. return if not is_subtype(type, declared_type): # Pretty sure this is only happens when there's a type error. # Ideally this function wouldn't be called if the # expression has a type error, though -- do other kinds of # errors cause this function to get called at invalid # times? return enclosing_type = self.most_recent_enclosing_type(expr, type) if isinstance(enclosing_type, AnyType) and not restrict_any: # If x is Any and y is int, after x = y we do not infer that x is int. # This could be changed. if not isinstance(type, AnyType): # We narrowed type from Any in a recent frame (probably an # isinstance check), but now it is reassigned, so broaden back # to Any (which is the most recent enclosing type) self.put(expr, enclosing_type) elif isinstance(type, AnyType) and not ( isinstance(declared_type, UnionType) and any(isinstance(item, AnyType) for item in declared_type.items) ): # Assigning an Any value doesn't affect the type to avoid false negatives, unless # there is an Any item in a declared union type. self.put(expr, declared_type) else: self.put(expr, type) for i in self.try_frames: # XXX This should probably not copy the entire frame, but # just copy this variable into a single stored frame. self.allow_jump(i)
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def check_multi_assignment( self, lvalues: List[Lvalue], rvalue: Expression, context: Context, infer_lvalue_type: bool = True, rv_type: Optional[Type] = None, undefined_rvalue: bool = False, ) -> None: """Check the assignment of one rvalue to a number of lvalues.""" # Infer the type of an ordinary rvalue expression. # TODO: maybe elsewhere; redundant. rvalue_type = rv_type or self.expr_checker.accept(rvalue) if isinstance(rvalue_type, UnionType): # If this is an Optional type in non-strict Optional code, unwrap it. relevant_items = rvalue_type.relevant_items() if len(relevant_items) == 1: rvalue_type = relevant_items[0] if isinstance(rvalue_type, AnyType): for lv in lvalues: if isinstance(lv, StarExpr): lv = lv.expr temp_node = self.temp_node( AnyType(TypeOfAny.from_another_any, source_any=rvalue_type), context ) self.check_assignment(lv, temp_node, infer_lvalue_type) elif isinstance(rvalue_type, TupleType): self.check_multi_assignment_from_tuple( lvalues, rvalue, rvalue_type, context, undefined_rvalue, infer_lvalue_type ) elif isinstance(rvalue_type, UnionType): self.check_multi_assignment_from_union( lvalues, rvalue, rvalue_type, context, infer_lvalue_type ) else: self.check_multi_assignment_from_iterable( lvalues, rvalue_type, context, infer_lvalue_type )
def check_multi_assignment( self, lvalues: List[Lvalue], rvalue: Expression, context: Context, infer_lvalue_type: bool = True, msg: Optional[str] = None, ) -> None: """Check the assignment of one rvalue to a number of lvalues.""" # Infer the type of an ordinary rvalue expression. rvalue_type = self.expr_checker.accept(rvalue) # TODO maybe elsewhere; redundant undefined_rvalue = False if isinstance(rvalue_type, UnionType): # If this is an Optional type in non-strict Optional code, unwrap it. relevant_items = rvalue_type.relevant_items() if len(relevant_items) == 1: rvalue_type = relevant_items[0] if isinstance(rvalue_type, AnyType): for lv in lvalues: if isinstance(lv, StarExpr): lv = lv.expr temp_node = self.temp_node( AnyType(TypeOfAny.from_another_any, source_any=rvalue_type), context ) self.check_assignment(lv, temp_node, infer_lvalue_type) elif isinstance(rvalue_type, TupleType): self.check_multi_assignment_from_tuple( lvalues, rvalue, rvalue_type, context, undefined_rvalue, infer_lvalue_type ) else: self.check_multi_assignment_from_iterable( lvalues, rvalue_type, context, infer_lvalue_type )
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def check_multi_assignment_from_tuple( self, lvalues: List[Lvalue], rvalue: Expression, rvalue_type: TupleType, context: Context, undefined_rvalue: bool, infer_lvalue_type: bool = True, ) -> None: if self.check_rvalue_count_in_assignment(lvalues, len(rvalue_type.items), context): star_index = next( (i for i, lv in enumerate(lvalues) if isinstance(lv, StarExpr)), len(lvalues), ) left_lvs = lvalues[:star_index] star_lv = ( cast(StarExpr, lvalues[star_index]) if star_index != len(lvalues) else None ) right_lvs = lvalues[star_index + 1 :] if not undefined_rvalue: # Infer rvalue again, now in the correct type context. lvalue_type = self.lvalue_type_for_inference(lvalues, rvalue_type) reinferred_rvalue_type = self.expr_checker.accept(rvalue, lvalue_type) if isinstance(reinferred_rvalue_type, UnionType): # If this is an Optional type in non-strict Optional code, unwrap it. relevant_items = reinferred_rvalue_type.relevant_items() if len(relevant_items) == 1: reinferred_rvalue_type = relevant_items[0] if isinstance(reinferred_rvalue_type, UnionType): self.check_multi_assignment_from_union( lvalues, rvalue, reinferred_rvalue_type, context, infer_lvalue_type ) return assert isinstance(reinferred_rvalue_type, TupleType) rvalue_type = reinferred_rvalue_type left_rv_types, star_rv_types, right_rv_types = self.split_around_star( rvalue_type.items, star_index, len(lvalues) ) for lv, rv_type in zip(left_lvs, left_rv_types): self.check_assignment( lv, self.temp_node(rv_type, context), infer_lvalue_type ) if star_lv: list_expr = ListExpr( [self.temp_node(rv_type, context) for rv_type in star_rv_types] ) list_expr.set_line(context.get_line()) self.check_assignment(star_lv.expr, list_expr, infer_lvalue_type) for lv, rv_type in zip(right_lvs, right_rv_types): self.check_assignment( lv, self.temp_node(rv_type, context), infer_lvalue_type )
def check_multi_assignment_from_tuple( self, lvalues: List[Lvalue], rvalue: Expression, rvalue_type: TupleType, context: Context, undefined_rvalue: bool, infer_lvalue_type: bool = True, ) -> None: if self.check_rvalue_count_in_assignment(lvalues, len(rvalue_type.items), context): star_index = next( (i for i, lv in enumerate(lvalues) if isinstance(lv, StarExpr)), len(lvalues), ) left_lvs = lvalues[:star_index] star_lv = ( cast(StarExpr, lvalues[star_index]) if star_index != len(lvalues) else None ) right_lvs = lvalues[star_index + 1 :] if not undefined_rvalue: # Infer rvalue again, now in the correct type context. lvalue_type = self.lvalue_type_for_inference(lvalues, rvalue_type) reinferred_rvalue_type = self.expr_checker.accept(rvalue, lvalue_type) if isinstance(reinferred_rvalue_type, UnionType): # If this is an Optional type in non-strict Optional code, unwrap it. relevant_items = reinferred_rvalue_type.relevant_items() if len(relevant_items) == 1: reinferred_rvalue_type = relevant_items[0] assert isinstance(reinferred_rvalue_type, TupleType) rvalue_type = reinferred_rvalue_type left_rv_types, star_rv_types, right_rv_types = self.split_around_star( rvalue_type.items, star_index, len(lvalues) ) for lv, rv_type in zip(left_lvs, left_rv_types): self.check_assignment( lv, self.temp_node(rv_type, context), infer_lvalue_type ) if star_lv: list_expr = ListExpr( [self.temp_node(rv_type, context) for rv_type in star_rv_types] ) list_expr.set_line(context.get_line()) self.check_assignment(star_lv.expr, list_expr, infer_lvalue_type) for lv, rv_type in zip(right_lvs, right_rv_types): self.check_assignment( lv, self.temp_node(rv_type, context), infer_lvalue_type )
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def split_around_star( self, items: List[T], star_index: int, length: int ) -> Tuple[List[T], List[T], List[T]]: """Splits a list of items in three to match another list of length 'length' that contains a starred expression at 'star_index' in the following way: star_index = 2, length = 5 (i.e., [a,b,*,c,d]), items = [1,2,3,4,5,6,7] returns in: ([1,2], [3,4,5], [6,7]) """ nr_right_of_star = length - star_index - 1 right_index = -nr_right_of_star if nr_right_of_star != 0 else len(items) left = items[:star_index] star = items[star_index:right_index] right = items[right_index:] return (left, star, right)
def split_around_star( self, items: List[T], star_index: int, length: int ) -> Tuple[List[T], List[T], List[T]]: """Splits a list of items in three to match another list of length 'length' that contains a starred expression at 'star_index' in the following way: star_index = 2, length = 5 (i.e., [a,b,*,c,d]), items = [1,2,3,4,5,6,7] returns in: ([1,2], [3,4,5], [6,7]) """ nr_right_of_star = length - star_index - 1 right_index = nr_right_of_star if -nr_right_of_star != 0 else len(items) left = items[:star_index] star = items[star_index:right_index] right = items[right_index:] return (left, star, right)
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def infer_variable_type( self, name: Var, lvalue: Lvalue, init_type: Type, context: Context ) -> None: """Infer the type of initialized variables from initializer type.""" if isinstance(init_type, DeletedType): self.msg.deleted_as_rvalue(init_type, context) elif not is_valid_inferred_type(init_type) and not self.no_partial_types: # We cannot use the type of the initialization expression for full type # inference (it's not specific enough), but we might be able to give # partial type which will be made more specific later. A partial type # gets generated in assignment like 'x = []' where item type is not known. if not self.infer_partial_type(name, lvalue, init_type): self.fail(messages.NEED_ANNOTATION_FOR_VAR, context) self.set_inference_error_fallback_type(name, lvalue, init_type, context) elif ( isinstance(lvalue, MemberExpr) and self.inferred_attribute_types is not None and lvalue.def_var and lvalue.def_var in self.inferred_attribute_types and not is_same_type(self.inferred_attribute_types[lvalue.def_var], init_type) ): # Multiple, inconsistent types inferred for an attribute. self.fail(messages.NEED_ANNOTATION_FOR_VAR, context) name.type = AnyType(TypeOfAny.from_error) else: # Infer type of the target. # Make the type more general (strip away function names etc.). init_type = strip_type(init_type) self.set_inferred_type(name, lvalue, init_type)
def infer_variable_type( self, name: Var, lvalue: Lvalue, init_type: Type, context: Context ) -> None: """Infer the type of initialized variables from initializer type.""" if isinstance(init_type, DeletedType): self.msg.deleted_as_rvalue(init_type, context) elif not is_valid_inferred_type(init_type): # We cannot use the type of the initialization expression for full type # inference (it's not specific enough), but we might be able to give # partial type which will be made more specific later. A partial type # gets generated in assignment like 'x = []' where item type is not known. if not self.infer_partial_type(name, lvalue, init_type): self.fail(messages.NEED_ANNOTATION_FOR_VAR, context) self.set_inference_error_fallback_type(name, lvalue, init_type, context) elif ( isinstance(lvalue, MemberExpr) and self.inferred_attribute_types is not None and lvalue.def_var and lvalue.def_var in self.inferred_attribute_types and not is_same_type(self.inferred_attribute_types[lvalue.def_var], init_type) ): # Multiple, inconsistent types inferred for an attribute. self.fail(messages.NEED_ANNOTATION_FOR_VAR, context) name.type = AnyType(TypeOfAny.from_error) else: # Infer type of the target. # Make the type more general (strip away function names etc.). init_type = strip_type(init_type) self.set_inferred_type(name, lvalue, init_type)
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def check_member_assignment( self, instance_type: Type, attribute_type: Type, rvalue: Expression, context: Context, ) -> Tuple[Type, bool]: """Type member assigment. This defers to check_simple_assignment, unless the member expression is a descriptor, in which case this checks descriptor semantics as well. Return the inferred rvalue_type and whether to infer anything about the attribute type """ # Descriptors don't participate in class-attribute access if ( isinstance(instance_type, FunctionLike) and instance_type.is_type_obj() ) or isinstance(instance_type, TypeType): rvalue_type = self.check_simple_assignment(attribute_type, rvalue, context) return rvalue_type, True if not isinstance(attribute_type, Instance): rvalue_type = self.check_simple_assignment(attribute_type, rvalue, context) return rvalue_type, True if not attribute_type.type.has_readable_member("__set__"): # If there is no __set__, we type-check that the assigned value matches # the return type of __get__. This doesn't match the python semantics, # (which allow you to override the descriptor with any value), but preserves # the type of accessing the attribute (even after the override). if attribute_type.type.has_readable_member("__get__"): attribute_type = self.expr_checker.analyze_descriptor_access( instance_type, attribute_type, context ) rvalue_type = self.check_simple_assignment(attribute_type, rvalue, context) return rvalue_type, True dunder_set = attribute_type.type.get_method("__set__") if dunder_set is None: self.msg.fail("{}.__set__ is not callable".format(attribute_type), context) return AnyType(TypeOfAny.from_error), False function = function_type(dunder_set, self.named_type("builtins.function")) bound_method = bind_self(function, attribute_type) typ = map_instance_to_supertype(attribute_type, dunder_set.info) dunder_set_type = expand_type_by_instance(bound_method, typ) _, inferred_dunder_set_type = self.expr_checker.check_call( dunder_set_type, [TempNode(instance_type), rvalue], [nodes.ARG_POS, nodes.ARG_POS], context, ) if not isinstance(inferred_dunder_set_type, CallableType): self.fail("__set__ is not callable", context) return AnyType(TypeOfAny.from_error), True if len(inferred_dunder_set_type.arg_types) < 2: # A message already will have been recorded in check_call return AnyType(TypeOfAny.from_error), False return inferred_dunder_set_type.arg_types[1], False
def check_member_assignment( self, instance_type: Type, attribute_type: Type, rvalue: Expression, context: Context, ) -> Tuple[Type, bool]: """Type member assigment. This is defers to check_simple_assignment, unless the member expression is a descriptor, in which case this checks descriptor semantics as well. Return the inferred rvalue_type and whether to infer anything about the attribute type """ # Descriptors don't participate in class-attribute access if ( isinstance(instance_type, FunctionLike) and instance_type.is_type_obj() ) or isinstance(instance_type, TypeType): rvalue_type = self.check_simple_assignment(attribute_type, rvalue, context) return rvalue_type, True if not isinstance(attribute_type, Instance): rvalue_type = self.check_simple_assignment(attribute_type, rvalue, context) return rvalue_type, True if not attribute_type.type.has_readable_member("__set__"): # If there is no __set__, we type-check that the assigned value matches # the return type of __get__. This doesn't match the python semantics, # (which allow you to override the descriptor with any value), but preserves # the type of accessing the attribute (even after the override). if attribute_type.type.has_readable_member("__get__"): attribute_type = self.expr_checker.analyze_descriptor_access( instance_type, attribute_type, context ) rvalue_type = self.check_simple_assignment(attribute_type, rvalue, context) return rvalue_type, True dunder_set = attribute_type.type.get_method("__set__") if dunder_set is None: self.msg.fail("{}.__set__ is not callable".format(attribute_type), context) return AnyType(TypeOfAny.from_error), False function = function_type(dunder_set, self.named_type("builtins.function")) bound_method = bind_self(function, attribute_type) typ = map_instance_to_supertype(attribute_type, dunder_set.info) dunder_set_type = expand_type_by_instance(bound_method, typ) _, inferred_dunder_set_type = self.expr_checker.check_call( dunder_set_type, [TempNode(instance_type), rvalue], [nodes.ARG_POS, nodes.ARG_POS], context, ) if not isinstance(inferred_dunder_set_type, CallableType): self.fail("__set__ is not callable", context) return AnyType(TypeOfAny.from_error), True if len(inferred_dunder_set_type.arg_types) < 2: # A message already will have been recorded in check_call return AnyType(TypeOfAny.from_error), False return inferred_dunder_set_type.arg_types[1], False
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def iterable_item_type(self, instance: Instance) -> Type: iterable = map_instance_to_supertype( instance, self.lookup_typeinfo("typing.Iterable") ) item_type = iterable.args[0] if not isinstance(item_type, AnyType): # This relies on 'map_instance_to_supertype' returning 'Iterable[Any]' # in case there is no explicit base class. return item_type # Try also structural typing. iter_type = find_member("__iter__", instance, instance) if ( iter_type and isinstance(iter_type, CallableType) and isinstance(iter_type.ret_type, Instance) ): iterator = map_instance_to_supertype( iter_type.ret_type, self.lookup_typeinfo("typing.Iterator") ) item_type = iterator.args[0] return item_type
def iterable_item_type(self, instance: Instance) -> Type: iterable = map_instance_to_supertype( instance, self.lookup_typeinfo("typing.Iterable") ) return iterable.args[0]
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def map_instance_to_supertype(instance: Instance, superclass: TypeInfo) -> Instance: """Produce a supertype of `instance` that is an Instance of `superclass`, mapping type arguments up the chain of bases. If `superclass` is not a nominal superclass of `instance.type`, then all type arguments are mapped to 'Any'. """ if instance.type == superclass: # Fast path: `instance` already belongs to `superclass`. return instance if not superclass.type_vars: # Fast path: `superclass` has no type variables to map to. return Instance(superclass, []) return map_instance_to_supertypes(instance, superclass)[0]
def map_instance_to_supertype(instance: Instance, superclass: TypeInfo) -> Instance: """Produce a supertype of `instance` that is an Instance of `superclass`, mapping type arguments up the chain of bases. `superclass` is required to be a superclass of `instance.type`. """ if instance.type == superclass: # Fast path: `instance` already belongs to `superclass`. return instance if not superclass.type_vars: # Fast path: `superclass` has no type variables to map to. return Instance(superclass, []) return map_instance_to_supertypes(instance, superclass)[0]
https://github.com/python/mypy/issues/3859
mypy --py2 --show-traceback test.py test.py:6: error: INTERNAL ERROR -- please report a bug at https://github.com/python/mypy/issues version: 0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty Traceback (most recent call last): File "/usr/local/Cellar/mypy/0.521/libexec/bin/mypy", line 11, in <module> load_entry_point('mypy===0.521-858f7512cf3b4e39c0f4e8de5a13eee0e1e138fb-dirty', 'console_scripts', 'mypy')() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/__main__.py", line 7, in console_entry main(None) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/main.py", line 97, in type_check_only options=options) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2044, in process_graph process_stale_scc(graph, scc, manager) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 2147, in process_stale_scc graph[id].type_check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/build.py", line 1716, in type_check_first_pass self.type_checker.check_first_pass() File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 185, in check_first_pass self.accept(d) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 565, in accept return visitor.visit_func_def(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 519, in visit_func_def self.check_func_item(defn, name=defn.name()) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 578, in check_func_item self.check_func_def(defn, typ, name) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 738, in check_func_def self.accept(item.body) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 815, in accept return visitor.visit_block(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1202, in visit_block self.accept(s) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 273, in accept stmt.accept(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/nodes.py", line 859, in accept return visitor.visit_assignment_stmt(self) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1209, in visit_assignment_stmt self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1236, in check_assignment infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1483, in check_assignment_to_multiple_lvalues self.check_multi_assignment(lvalues, rvalue, context, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1522, in check_multi_assignment context, undefined_rvalue, infer_lvalue_type) File "/usr/local/Cellar/mypy/0.521/libexec/lib/python3.6/site-packages/mypy/checker.py", line 1550, in check_multi_assignment_from_tuple assert isinstance(reinferred_rvalue_type, TupleType) AssertionError: test.py:6: note: use --pdb to drop into pdb
AssertionError
def write_cache(self) -> None: assert self.tree is not None, ( "Internal error: method must be called on parsed file only" ) if not self.path or self.options.cache_dir == os.devnull: return if self.manager.options.quick_and_dirty: is_errors = self.manager.errors.is_errors_for_file(self.path) else: is_errors = self.manager.errors.is_errors() if is_errors: delete_cache(self.id, self.path, self.manager) self.mark_interface_stale(on_errors=True) return dep_prios = [self.priorities.get(dep, PRI_HIGH) for dep in self.dependencies] new_interface_hash = write_cache( self.id, self.path, self.tree, list(self.dependencies), list(self.suppressed), list(self.child_modules), dep_prios, self.interface_hash, self.source_hash, self.ignore_all, self.manager, ) if new_interface_hash == self.interface_hash: self.manager.log("Cached module {} has same interface".format(self.id)) else: self.manager.log("Cached module {} has changed interface".format(self.id)) self.mark_interface_stale() self.interface_hash = new_interface_hash
def write_cache(self) -> None: assert self.tree is not None, ( "Internal error: method must be called on parsed file only" ) if not self.path or self.options.cache_dir == os.devnull: return if self.manager.options.quick_and_dirty: is_errors = self.manager.errors.is_errors_for_file(self.path) else: is_errors = self.manager.errors.is_errors() if is_errors: return dep_prios = [self.priorities.get(dep, PRI_HIGH) for dep in self.dependencies] new_interface_hash = write_cache( self.id, self.path, self.tree, list(self.dependencies), list(self.suppressed), list(self.child_modules), dep_prios, self.interface_hash, self.source_hash, self.ignore_all, self.manager, ) if new_interface_hash == self.interface_hash: self.manager.log("Cached module {} has same interface".format(self.id)) else: self.manager.log("Cached module {} has changed interface".format(self.id)) self.mark_interface_stale() self.interface_hash = new_interface_hash
https://github.com/python/mypy/issues/3852
$ bin/mypy python/ Traceback (most recent call last): File "bin/mypy", line 33, in <module> sys.exit(console_entry()) File "dist/lib/python3.6/mypy/__main__.py", line 7, in console_entry main(None) File "dist/lib/python3.6/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "dist/lib/python3.6/mypy/main.py", line 97, in type_check_only options=options) File "dist/lib/python3.6/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "dist/lib/python3.6/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "dist/lib/python3.6/mypy/build.py", line 2037, in process_graph process_fresh_scc(graph, prev_scc) File "dist/lib/python3.6/mypy/build.py", line 2106, in process_fresh_scc graph[id].fix_cross_refs() File "dist/lib/python3.6/mypy/build.py", line 1547, in fix_cross_refs self.manager.options.quick_and_dirty) File "dist/lib/python3.6/mypy/fixup.py", line 22, in fixup_module_pass_one node_fixer.visit_symbol_table(tree.names) File "dist/lib/python3.6/mypy/fixup.py", line 105, in visit_symbol_table self.visit_type_info(value.node) File "dist/lib/python3.6/mypy/fixup.py", line 62, in visit_type_info base.accept(self.type_fixer) File "dist/lib/python3.6/mypy/types.py", line 435, in accept return visitor.visit_instance(self) File "dist/lib/python3.6/mypy/fixup.py", line 176, in visit_instance assert self.quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError
def mark_interface_stale(self, *, on_errors: bool = False) -> None: """Marks this module as having a stale public interface, and discards the cache data.""" self.meta = None self.externally_same = False if not on_errors: self.manager.stale_modules.add(self.id)
def mark_interface_stale(self) -> None: """Marks this module as having a stale public interface, and discards the cache data.""" self.meta = None self.externally_same = False self.manager.stale_modules.add(self.id)
https://github.com/python/mypy/issues/3852
$ bin/mypy python/ Traceback (most recent call last): File "bin/mypy", line 33, in <module> sys.exit(console_entry()) File "dist/lib/python3.6/mypy/__main__.py", line 7, in console_entry main(None) File "dist/lib/python3.6/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "dist/lib/python3.6/mypy/main.py", line 97, in type_check_only options=options) File "dist/lib/python3.6/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "dist/lib/python3.6/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "dist/lib/python3.6/mypy/build.py", line 2037, in process_graph process_fresh_scc(graph, prev_scc) File "dist/lib/python3.6/mypy/build.py", line 2106, in process_fresh_scc graph[id].fix_cross_refs() File "dist/lib/python3.6/mypy/build.py", line 1547, in fix_cross_refs self.manager.options.quick_and_dirty) File "dist/lib/python3.6/mypy/fixup.py", line 22, in fixup_module_pass_one node_fixer.visit_symbol_table(tree.names) File "dist/lib/python3.6/mypy/fixup.py", line 105, in visit_symbol_table self.visit_type_info(value.node) File "dist/lib/python3.6/mypy/fixup.py", line 62, in visit_type_info base.accept(self.type_fixer) File "dist/lib/python3.6/mypy/types.py", line 435, in accept return visitor.visit_instance(self) File "dist/lib/python3.6/mypy/fixup.py", line 176, in visit_instance assert self.quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError
def analyze_member_access( name: str, typ: Type, node: Context, is_lvalue: bool, is_super: bool, is_operator: bool, builtin_type: Callable[[str], Instance], not_ready_callback: Callable[[str, Context], None], msg: MessageBuilder, *, original_type: Type, chk: "mypy.checker.TypeChecker", override_info: Optional[TypeInfo] = None, ) -> Type: """Return the type of attribute `name` of typ. This is a general operation that supports various different variations: 1. lvalue or non-lvalue access (i.e. setter or getter access) 2. supertype access (when using super(); is_super == True and override_info should refer to the supertype) original_type is the most precise inferred or declared type of the base object that we have available. typ is generally a supertype of original_type. When looking for an attribute of typ, we may perform recursive calls targeting the fallback type, for example. original_type is always the type used in the initial call. """ # TODO: this and following functions share some logic with subtypes.find_member, # consider refactoring. if isinstance(typ, Instance): if name == "__init__" and not is_super: # Accessing __init__ in statically typed code would compromise # type safety unless used via super(). msg.fail(messages.CANNOT_ACCESS_INIT, node) return AnyType(TypeOfAny.from_error) # The base object has an instance type. info = typ.type if override_info: info = override_info if ( experiments.find_occurrences and info.name() == experiments.find_occurrences[0] and name == experiments.find_occurrences[1] ): msg.note( "Occurrence of '{}.{}'".format(*experiments.find_occurrences), node ) # Look up the member. First look up the method dictionary. method = info.get_method(name) if method: if method.is_property: assert isinstance(method, OverloadedFuncDef) first_item = cast(Decorator, method.items[0]) return analyze_var( name, first_item.var, typ, info, node, is_lvalue, msg, original_type, not_ready_callback, chk=chk, ) if is_lvalue: msg.cant_assign_to_method(node) signature = function_type(method, builtin_type("builtins.function")) signature = freshen_function_type_vars(signature) if name == "__new__": # __new__ is special and behaves like a static method -- don't strip # the first argument. pass else: signature = bind_self(signature, original_type) typ = map_instance_to_supertype(typ, method.info) member_type = expand_type_by_instance(signature, typ) freeze_type_vars(member_type) return member_type else: # Not a method. return analyze_member_var_access( name, typ, info, node, is_lvalue, is_super, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, AnyType): # The base object has dynamic type. return AnyType(TypeOfAny.from_another_any, source_any=typ) elif isinstance(typ, NoneTyp): if chk.should_suppress_optional_error([typ]): return AnyType(TypeOfAny.from_error) # The only attribute NoneType has are those it inherits from object return analyze_member_access( name, builtin_type("builtins.object"), node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, UnionType): # The base object has dynamic type. msg.disable_type_names += 1 results = [ analyze_member_access( name, subtype, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) for subtype in typ.relevant_items() ] msg.disable_type_names -= 1 return UnionType.make_simplified_union(results) elif isinstance(typ, TupleType): # Actually look up from the fallback instance type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, TypedDictType): # Actually look up from the fallback instance type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, FunctionLike) and typ.is_type_obj(): # Class attribute. # TODO super? ret_type = typ.items()[0].ret_type if isinstance(ret_type, TupleType): ret_type = ret_type.fallback if isinstance(ret_type, Instance): if not is_operator: # When Python sees an operator (eg `3 == 4`), it automatically translates that # into something like `int.__eq__(3, 4)` instead of `(3).__eq__(4)` as an # optimization. # # While it normally it doesn't matter which of the two versions are used, it # does cause inconsistencies when working with classes. For example, translating # `int == int` to `int.__eq__(int)` would not work since `int.__eq__` is meant to # compare two int _instances_. What we really want is `type(int).__eq__`, which # is meant to compare two types or classes. # # This check makes sure that when we encounter an operator, we skip looking up # the corresponding method in the current instance to avoid this edge case. # See https://github.com/python/mypy/pull/1787 for more info. result = analyze_class_attribute_access( ret_type, name, node, is_lvalue, builtin_type, not_ready_callback, msg, original_type=original_type, ) if result: return result # Look up from the 'type' type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) else: assert False, "Unexpected type {}".format(repr(ret_type)) elif isinstance(typ, FunctionLike): # Look up from the 'function' type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, TypeVarType): return analyze_member_access( name, typ.upper_bound, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, DeletedType): msg.deleted_as_rvalue(typ, node) return AnyType(TypeOfAny.from_error) elif isinstance(typ, TypeType): # Similar to FunctionLike + is_type_obj() above. item = None fallback = builtin_type("builtins.type") ignore_messages = msg.copy() ignore_messages.disable_errors() if isinstance(typ.item, Instance): item = typ.item elif isinstance(typ.item, AnyType): return analyze_member_access( name, fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, ignore_messages, original_type=original_type, chk=chk, ) elif isinstance(typ.item, TypeVarType): if isinstance(typ.item.upper_bound, Instance): item = typ.item.upper_bound elif isinstance(typ.item, FunctionLike) and typ.item.is_type_obj(): item = typ.item.fallback elif isinstance(typ.item, TypeType): # Access member on metaclass object via Type[Type[C]] if isinstance(typ.item.item, Instance): item = typ.item.item.type.metaclass_type if item and not is_operator: # See comment above for why operators are skipped result = analyze_class_attribute_access( item, name, node, is_lvalue, builtin_type, not_ready_callback, msg, original_type=original_type, ) if result: if not (isinstance(result, AnyType) and item.type.fallback_to_any): return result else: # We don't want errors on metaclass lookup for classes with Any fallback msg = ignore_messages if item is not None: fallback = item.type.metaclass_type or fallback return analyze_member_access( name, fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) if chk.should_suppress_optional_error([typ]): return AnyType(TypeOfAny.from_error) return msg.has_no_attr(original_type, typ, name, node)
def analyze_member_access( name: str, typ: Type, node: Context, is_lvalue: bool, is_super: bool, is_operator: bool, builtin_type: Callable[[str], Instance], not_ready_callback: Callable[[str, Context], None], msg: MessageBuilder, *, original_type: Type, chk: "mypy.checker.TypeChecker", override_info: Optional[TypeInfo] = None, ) -> Type: """Return the type of attribute `name` of typ. This is a general operation that supports various different variations: 1. lvalue or non-lvalue access (i.e. setter or getter access) 2. supertype access (when using super(); is_super == True and override_info should refer to the supertype) original_type is the most precise inferred or declared type of the base object that we have available. typ is generally a supertype of original_type. When looking for an attribute of typ, we may perform recursive calls targeting the fallback type, for example. original_type is always the type used in the initial call. """ # TODO: this and following functions share some logic with subtypes.find_member, # consider refactoring. if isinstance(typ, Instance): if name == "__init__" and not is_super: # Accessing __init__ in statically typed code would compromise # type safety unless used via super(). msg.fail(messages.CANNOT_ACCESS_INIT, node) return AnyType(TypeOfAny.from_error) # The base object has an instance type. info = typ.type if override_info: info = override_info if ( experiments.find_occurrences and info.name() == experiments.find_occurrences[0] and name == experiments.find_occurrences[1] ): msg.note( "Occurrence of '{}.{}'".format(*experiments.find_occurrences), node ) # Look up the member. First look up the method dictionary. method = info.get_method(name) if method: if method.is_property: assert isinstance(method, OverloadedFuncDef) first_item = cast(Decorator, method.items[0]) return analyze_var( name, first_item.var, typ, info, node, is_lvalue, msg, original_type, not_ready_callback, chk=chk, ) if is_lvalue: msg.cant_assign_to_method(node) signature = function_type(method, builtin_type("builtins.function")) signature = freshen_function_type_vars(signature) if name == "__new__": # __new__ is special and behaves like a static method -- don't strip # the first argument. pass else: signature = bind_self(signature, original_type) typ = map_instance_to_supertype(typ, method.info) member_type = expand_type_by_instance(signature, typ) freeze_type_vars(member_type) return member_type else: # Not a method. return analyze_member_var_access( name, typ, info, node, is_lvalue, is_super, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, AnyType): # The base object has dynamic type. return AnyType(TypeOfAny.from_another_any, source_any=typ) elif isinstance(typ, NoneTyp): if chk.should_suppress_optional_error([typ]): return AnyType(TypeOfAny.from_error) # The only attribute NoneType has are those it inherits from object return analyze_member_access( name, builtin_type("builtins.object"), node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, UnionType): # The base object has dynamic type. msg.disable_type_names += 1 results = [ analyze_member_access( name, subtype, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) for subtype in typ.relevant_items() ] msg.disable_type_names -= 1 return UnionType.make_simplified_union(results) elif isinstance(typ, TupleType): # Actually look up from the fallback instance type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, TypedDictType): # Actually look up from the fallback instance type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, FunctionLike) and typ.is_type_obj(): # Class attribute. # TODO super? ret_type = typ.items()[0].ret_type if isinstance(ret_type, TupleType): ret_type = ret_type.fallback if isinstance(ret_type, Instance): if not is_operator: # When Python sees an operator (eg `3 == 4`), it automatically translates that # into something like `int.__eq__(3, 4)` instead of `(3).__eq__(4)` as an # optimization. # # While it normally it doesn't matter which of the two versions are used, it # does cause inconsistencies when working with classes. For example, translating # `int == int` to `int.__eq__(int)` would not work since `int.__eq__` is meant to # compare two int _instances_. What we really want is `type(int).__eq__`, which # is meant to compare two types or classes. # # This check makes sure that when we encounter an operator, we skip looking up # the corresponding method in the current instance to avoid this edge case. # See https://github.com/python/mypy/pull/1787 for more info. result = analyze_class_attribute_access( ret_type, name, node, is_lvalue, builtin_type, not_ready_callback, msg, original_type=original_type, ) if result: return result # Look up from the 'type' type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) else: assert False, "Unexpected type {}".format(repr(ret_type)) elif isinstance(typ, FunctionLike): # Look up from the 'function' type. return analyze_member_access( name, typ.fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, TypeVarType): return analyze_member_access( name, typ.upper_bound, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) elif isinstance(typ, DeletedType): msg.deleted_as_rvalue(typ, node) return AnyType(TypeOfAny.from_error) elif isinstance(typ, TypeType): # Similar to FunctionLike + is_type_obj() above. item = None if isinstance(typ.item, Instance): item = typ.item elif isinstance(typ.item, AnyType): fallback = builtin_type("builtins.type") ignore_messages = msg.copy() ignore_messages.disable_errors() return analyze_member_access( name, fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, ignore_messages, original_type=original_type, chk=chk, ) elif isinstance(typ.item, TypeVarType): if isinstance(typ.item.upper_bound, Instance): item = typ.item.upper_bound if item and not is_operator: # See comment above for why operators are skipped result = analyze_class_attribute_access( item, name, node, is_lvalue, builtin_type, not_ready_callback, msg, original_type=original_type, ) if result: return result fallback = builtin_type("builtins.type") if item is not None: fallback = item.type.metaclass_type or fallback return analyze_member_access( name, fallback, node, is_lvalue, is_super, is_operator, builtin_type, not_ready_callback, msg, original_type=original_type, chk=chk, ) if chk.should_suppress_optional_error([typ]): return AnyType(TypeOfAny.from_error) return msg.has_no_attr(original_type, typ, name, node)
https://github.com/python/mypy/issues/3852
$ bin/mypy python/ Traceback (most recent call last): File "bin/mypy", line 33, in <module> sys.exit(console_entry()) File "dist/lib/python3.6/mypy/__main__.py", line 7, in console_entry main(None) File "dist/lib/python3.6/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "dist/lib/python3.6/mypy/main.py", line 97, in type_check_only options=options) File "dist/lib/python3.6/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "dist/lib/python3.6/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "dist/lib/python3.6/mypy/build.py", line 2037, in process_graph process_fresh_scc(graph, prev_scc) File "dist/lib/python3.6/mypy/build.py", line 2106, in process_fresh_scc graph[id].fix_cross_refs() File "dist/lib/python3.6/mypy/build.py", line 1547, in fix_cross_refs self.manager.options.quick_and_dirty) File "dist/lib/python3.6/mypy/fixup.py", line 22, in fixup_module_pass_one node_fixer.visit_symbol_table(tree.names) File "dist/lib/python3.6/mypy/fixup.py", line 105, in visit_symbol_table self.visit_type_info(value.node) File "dist/lib/python3.6/mypy/fixup.py", line 62, in visit_type_info base.accept(self.type_fixer) File "dist/lib/python3.6/mypy/types.py", line 435, in accept return visitor.visit_instance(self) File "dist/lib/python3.6/mypy/fixup.py", line 176, in visit_instance assert self.quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError
def is_type_obj(self) -> bool: return self.fallback.type.is_metaclass()
def is_type_obj(self) -> bool: t = self.fallback.type return t is not None and t.is_metaclass()
https://github.com/python/mypy/issues/3852
$ bin/mypy python/ Traceback (most recent call last): File "bin/mypy", line 33, in <module> sys.exit(console_entry()) File "dist/lib/python3.6/mypy/__main__.py", line 7, in console_entry main(None) File "dist/lib/python3.6/mypy/main.py", line 50, in main res = type_check_only(sources, bin_dir, options) File "dist/lib/python3.6/mypy/main.py", line 97, in type_check_only options=options) File "dist/lib/python3.6/mypy/build.py", line 196, in build graph = dispatch(sources, manager) File "dist/lib/python3.6/mypy/build.py", line 1801, in dispatch process_graph(graph, manager) File "dist/lib/python3.6/mypy/build.py", line 2037, in process_graph process_fresh_scc(graph, prev_scc) File "dist/lib/python3.6/mypy/build.py", line 2106, in process_fresh_scc graph[id].fix_cross_refs() File "dist/lib/python3.6/mypy/build.py", line 1547, in fix_cross_refs self.manager.options.quick_and_dirty) File "dist/lib/python3.6/mypy/fixup.py", line 22, in fixup_module_pass_one node_fixer.visit_symbol_table(tree.names) File "dist/lib/python3.6/mypy/fixup.py", line 105, in visit_symbol_table self.visit_type_info(value.node) File "dist/lib/python3.6/mypy/fixup.py", line 62, in visit_type_info base.accept(self.type_fixer) File "dist/lib/python3.6/mypy/types.py", line 435, in accept return visitor.visit_instance(self) File "dist/lib/python3.6/mypy/fixup.py", line 176, in visit_instance assert self.quick_and_dirty, "Should never get here in normal mode" AssertionError: Should never get here in normal mode
AssertionError