|
@@ -1835,7 +1835,10 @@ let configure gen =
|
|
|
let get_param_name t = match follow t with TInst(cl, _) -> snd cl.cl_path | _ -> assert false in
|
|
|
let params = sprintf "<%s>" (String.concat ", " (List.map (fun (_, tcl) -> get_param_name tcl) cl_params)) in
|
|
|
let params_extends =
|
|
|
- if hxgen then
|
|
|
+ if hxgen
|
|
|
+ (* this is temprorary, see https://github.com/HaxeFoundation/haxe/issues/3526 *)
|
|
|
+ || not (Meta.has (Meta.Custom ":nativeTypeConstraints") cl.cl_meta)
|
|
|
+ then
|
|
|
[""]
|
|
|
else
|
|
|
List.fold_left (fun acc (name, t) ->
|