소스 검색

add created proxy as dependency

Simon Krajewski 13 년 전
부모
커밋
8f7c8a7de4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      codegen.ml

+ 1 - 0
codegen.ml

@@ -171,6 +171,7 @@ let extend_remoting ctx c t p async prot =
 		| _ -> d
 	) decls in
 	let m = Typeload.type_module ctx (t.tpackage,new_name) file decls p in
+	add_dependency ctx.current m;
 	try
 		List.find (fun tdecl -> snd (t_path tdecl) = new_name) m.m_types
 	with Not_found ->