(self, t: Parameters)
| 859 | raise NotImplementedError |
| 860 | |
| 861 | def visit_parameters(self, t: Parameters) -> ProperType: |
| 862 | if isinstance(self.s, Parameters): |
| 863 | if len(t.arg_types) != len(self.s.arg_types): |
| 864 | return self.default(self.s) |
| 865 | from mypy.join import join_types |
| 866 | |
| 867 | return t.copy_modified( |
| 868 | arg_types=[join_types(s_a, t_a) for s_a, t_a in zip(self.s.arg_types, t.arg_types)] |
| 869 | ) |
| 870 | else: |
| 871 | return self.default(self.s) |
| 872 | |
| 873 | def visit_instance(self, t: Instance) -> ProperType: |
| 874 | if isinstance(self.s, Instance): |
nothing calls this directly
no test coverage detected