Browse Source

bugfix : don't mark subclasses methods as override

Nicolas Cannasse 15 năm trước cách đây
mục cha
commit
d36792e5d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      genxml.ml

+ 1 - 1
genxml.ml

@@ -111,7 +111,7 @@ let rec exists f c =
 	with
 		Not_found ->
 			match c.cl_super with
-			| None -> true
+			| None -> false
 			| Some (csup,_) -> exists f csup
 
 let gen_type_decl com t =