@@ -81,7 +81,9 @@ def visit_type_var(self, t: TypeVarType) -> ProperType:
81
81
return self .copy_common (t , dup )
82
82
83
83
def visit_param_spec (self , t : ParamSpecType ) -> ProperType :
84
- dup = ParamSpecType (t .name , t .fullname , t .id , t .flavor , t .upper_bound , prefix = t .prefix )
84
+ dup = ParamSpecType (
85
+ t .name , t .fullname , t .id , t .flavor , t .upper_bound , t .default , prefix = t .prefix
86
+ )
85
87
return self .copy_common (t , dup )
86
88
87
89
def visit_parameters (self , t : Parameters ) -> ProperType :
@@ -95,7 +97,9 @@ def visit_parameters(self, t: Parameters) -> ProperType:
95
97
return self .copy_common (t , dup )
96
98
97
99
def visit_type_var_tuple (self , t : TypeVarTupleType ) -> ProperType :
98
- dup = TypeVarTupleType (t .name , t .fullname , t .id , t .upper_bound , t .tuple_fallback )
100
+ dup = TypeVarTupleType (
101
+ t .name , t .fullname , t .id , t .upper_bound , t .tuple_fallback , t .default
102
+ )
99
103
return self .copy_common (t , dup )
100
104
101
105
def visit_unpack_type (self , t : UnpackType ) -> ProperType :
0 commit comments