From 68c95df3408925f56a58b4eb1097f47ed10c7831 Mon Sep 17 00:00:00 2001 From: Simon Krajewski Date: Tue, 23 Apr 2024 11:10:16 +0200 Subject: [PATCH] inherit `@:unreflective` on generic classes see https://github.com/HaxeFoundation/hxcpp/issues/1102 --- src/typing/generic.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/typing/generic.ml b/src/typing/generic.ml index 6f12c785a94..efc992b41f0 100644 --- a/src/typing/generic.ml +++ b/src/typing/generic.ml @@ -312,7 +312,7 @@ let build_generic_class ctx c p tl = | Pure | Struct | StructInit | Using - | AutoBuild -> + | AutoBuild | Unreflective -> true | _ -> false