Просмотр исходного кода

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

Simon Krajewski 11 лет назад
Родитель
Сommit
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