Browse Source

[hxb] don't write MFake deps

because we cannot load them like that
Simon Krajewski 1 year ago
parent
commit
e43e18ff87
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/compiler/hxb/hxbWriter.ml

+ 2 - 2
src/compiler/hxb/hxbWriter.ml

@@ -2237,8 +2237,8 @@ module HxbWriter = struct
 			let deps = DynArray.create () in
 			PMap.iter (fun _ mdep ->
 				match mdep.md_kind with
-				| MCode | MExtern | MFake when mdep.md_sign = m.m_extra.m_sign ->
-						DynArray.add deps mdep.md_path;
+				| MCode | MExtern when mdep.md_sign = m.m_extra.m_sign ->
+					DynArray.add deps mdep.md_path;
 				| _ ->
 					()
 			) m.m_extra.m_deps;