소스 검색

do not reset class relations when canceling a build

Simon Krajewski 9 년 전
부모
커밋
07f211c2b0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      typeload.ml

+ 2 - 2
typeload.ml

@@ -1391,10 +1391,10 @@ module Inheritance = struct
 			(* for macros reason, our super class is not yet built - see #2177 *)
 			(* for macros reason, our super class is not yet built - see #2177 *)
 			(* let's reset our build and delay it until we are done *)
 			(* let's reset our build and delay it until we are done *)
 			c.cl_meta <- old_meta;
 			c.cl_meta <- old_meta;
-			c.cl_array_access <- None;
+(* 			c.cl_array_access <- None;
 			c.cl_dynamic <- None;
 			c.cl_dynamic <- None;
 			c.cl_implements <- [];
 			c.cl_implements <- [];
-			c.cl_super <- None;
+			c.cl_super <- None; *)
 			raise Exit
 			raise Exit
 		in
 		in
 		let has_interf = ref false in
 		let has_interf = ref false in