@@ -67,6 +67,7 @@ let rec gc cx state = function
67
67
(* * def types **)
68
68
69
69
| AbstractT (_ , t ) -> gc cx state t
70
+ | AbstractsT (_ , _ ) -> ()
70
71
| AnnotT t -> gc cx state t
71
72
| DefT (_ , AnyFunT) -> ()
72
73
| DefT (_ , AnyObjT) -> ()
@@ -79,6 +80,7 @@ let rec gc cx state = function
79
80
| BoundT typeparam -> gc_typeparam cx state typeparam
80
81
| ChoiceKitT _ -> ()
81
82
| DefT (_ , ClassT t ) -> gc cx state t
83
+ | DefT (_ , NonabstractClassT t ) -> gc cx state t
82
84
| CustomFunT _ -> ()
83
85
| DefT (_, NumT _)
84
86
| DefT (_, StrT _)
@@ -199,6 +201,7 @@ and gc_use cx state = function
199
201
| AssertBinaryInRHST _ -> ()
200
202
| AssertForInRHST _ -> ()
201
203
| AssertImportIsValueT _ -> ()
204
+ | AssertNonabstractT _ -> ()
202
205
| AssertRestParamT _ -> ()
203
206
| BecomeT (_ , t ) -> gc cx state t
204
207
| BindT (_ , funcalltype , _ ) -> gc_funcalltype cx state funcalltype
@@ -233,6 +236,7 @@ and gc_use cx state = function
233
236
| ExportTypeT (_ , _ , _ , t , t_out ) ->
234
237
gc cx state t;
235
238
gc cx state t_out
239
+ | GatherAbstractsT (_ , i , _ , t ) -> gc_insttype cx state i; gc cx state t
236
240
| GetElemT (_ , i , t ) -> gc cx state i; gc cx state t
237
241
| GetKeysT (_ , t ) -> gc cx state t
238
242
| GetPropT (_ , _ , t ) -> gc cx state t
0 commit comments