Browse Source

[cs] fixed Issue #952

Caue Waneck 13 years ago
parent
commit
73b446404f
2 changed files with 1 additions and 1 deletions
  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;

File diff suppressed because it is too large
+ 0 - 0
std/cs/_std/Array.hx


Some files were not shown because too many files changed in this diff