Explorar o código

[flash] minor

Dan Korostelev %!s(int64=6) %!d(string=hai) anos
pai
achega
ec7d1830f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/generators/genswf9.ml

+ 1 - 1
src/generators/genswf9.ml

@@ -2590,7 +2590,7 @@ let generate_class ctx c =
 			mark_has_protected c (* also mark this class with the meta for further child classes *)
 		end else if csup.cl_extern then begin
 			let rec loop csup =
-				if List.exists (fun cf -> Meta.has Meta.Protected cf.cf_meta) csup.cl_ordered_fields then begin
+				if List.exists is_cf_protected csup.cl_ordered_fields then begin
 					has_protected := Some (make_class_ns c);
 					mark_has_protected c; (* also mark this class with the meta for further child classes *)
 					mark_has_protected csup; (* ALSO mark the extern class for faster future checks *)