瀏覽代碼

inherit `@:unreflective` on generic classes

see https://github.com/HaxeFoundation/hxcpp/issues/1102
Simon Krajewski 1 年之前
父節點
當前提交
68c95df340
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/typing/generic.ml

+ 1 - 1
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