Simon Krajewski 12 years ago
parent
commit
50a60163ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      codegen.ml

+ 1 - 1
codegen.ml

@@ -659,7 +659,7 @@ let remove_extern_fields ctx t = match t with
 		let do_remove f =
 		let do_remove f =
 			Meta.has Meta.Extern f.cf_meta || Meta.has Meta.Generic f.cf_meta
 			Meta.has Meta.Extern f.cf_meta || Meta.has Meta.Generic f.cf_meta
 			|| (match f.cf_kind with
 			|| (match f.cf_kind with
-				| Var {v_read = AccRequire (s,_)} -> not (Common.raw_defined ctx.com s)
+				| Var {v_read = AccRequire (s,_)} -> true
 				| Method MethMacro -> not ctx.in_macro
 				| Method MethMacro -> not ctx.in_macro
 				| _ -> false)
 				| _ -> false)
 		in
 		in