diff --git a/src/typing/generic.ml b/src/typing/generic.ml index ba94b7bb2a6..c1645486098 100644 --- a/src/typing/generic.ml +++ b/src/typing/generic.ml @@ -254,7 +254,8 @@ let rec build_generic_class ctx c p tl = | NoClosure | NullSafety | Pure | Struct | StructInit - | Using -> + | Using + | Unreflective -> true | _ -> false