Parcourir la source

[cs] fixed Issue #952

Caue Waneck il y a 13 ans
Parent
commit
73b446404f
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      gencommon.ml
  2. 0 0
      std/cs/_std/Array.hx

+ 1 - 1
gencommon.ml

@@ -3895,7 +3895,7 @@ struct
               let name = String.concat "." ((fst cl.cl_path) @ [snd cl.cl_path; original_name]) (* explicitly define it *) in
               let cast_cf = create_cast_cfield gen cl name in
               
-              cl.cl_ordered_fields <- cast_cf :: cl.cl_ordered_fields;
+              (if not cl.cl_interface then cl.cl_ordered_fields <- cast_cf :: cl.cl_ordered_fields);
               let iface_cf = mk_class_field original_name cast_cf.cf_type false cast_cf.cf_pos (Method MethNormal) cast_cf.cf_params in
               
               iface_cf.cf_type <- cast_cf.cf_type;

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
std/cs/_std/Array.hx


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff