Skip to content

Commit

Permalink
inherit @:unreflective on generic classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn authored and kLabz committed Jun 28, 2024
1 parent 1d01a83 commit feb9728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/typing/generic.ml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ let rec build_generic_class ctx c p tl =
| NoClosure | NullSafety
| Pure
| Struct | StructInit
| Using ->
| Using
| Unreflective ->
true
| _ ->
false
Expand Down

0 comments on commit feb9728

Please sign in to comment.