소스 검색

[dce] revert interface property change until I know how to deal with it (see #3362)

Simon Krajewski 11 년 전
부모
커밋
3a7dfdb3a0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dce.ml

+ 1 - 1
dce.ml

@@ -535,7 +535,7 @@ let run com main full =
 
 	(* extra step to adjust properties that had accessors removed (required for Php and Cpp) *)
 	List.iter (fun mt -> match mt with
-		| (TClassDecl c) when not c.cl_interface ->
+		| (TClassDecl c) ->
 			let rec has_accessor c n stat =
 				PMap.mem n (if stat then c.cl_statics else c.cl_fields)
 				|| match c.cl_super with Some (csup,_) -> has_accessor csup n stat | None -> false