Dan Korostelev 10 years ago
parent
commit
1b70663b04
1 changed files with 2 additions and 2 deletions
  1. 2 2
      genjava.ml

+ 2 - 2
genjava.ml

@@ -2052,8 +2052,8 @@ let configure gen =
 		| TAnon _ | TDynamic _ -> "Dynamic"
 		| TAnon _ | TDynamic _ -> "Dynamic"
 		| _ -> print_endline (debug_type t); assert false
 		| _ -> print_endline (debug_type t); assert false
 	in
 	in
-	let rcf_static_insert t = mk_static_field_access_infer (get_cl (get_type gen (["haxe";"lang"], "FieldLookup"))) ("insert" ^ get_specialized_postfix t) Ast.null_pos [t] in
-	let rcf_static_remove t = mk_static_field_access_infer (get_cl (get_type gen (["haxe";"lang"], "FieldLookup"))) ("remove" ^ get_specialized_postfix t) Ast.null_pos [t] in
+	let rcf_static_insert t = mk_static_field_access_infer (get_cl (get_type gen (["haxe";"lang"], "FieldLookup"))) ("insert" ^ get_specialized_postfix t) Ast.null_pos [] in
+	let rcf_static_remove t = mk_static_field_access_infer (get_cl (get_type gen (["haxe";"lang"], "FieldLookup"))) ("remove" ^ get_specialized_postfix t) Ast.null_pos [] in
 
 
 	let can_be_float t = like_float (real_type t) in
 	let can_be_float t = like_float (real_type t) in