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 Jul 18, 2024
1 parent f54e91a commit 76aee53
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 76aee53

Please sign in to comment.