|
@@ -254,10 +254,10 @@ let rec link e a b =
|
|
in
|
|
in
|
|
if loop b then
|
|
if loop b then
|
|
false
|
|
false
|
|
- else begin
|
|
|
|
- e := Some b;
|
|
|
|
- true
|
|
|
|
- end
|
|
|
|
|
|
+ else
|
|
|
|
+ match b with
|
|
|
|
+ | TDynamic _ -> true
|
|
|
|
+ | _ -> e := Some b; true
|
|
|
|
|
|
(* substitute parameters with other types *)
|
|
(* substitute parameters with other types *)
|
|
let apply_params cparams params t =
|
|
let apply_params cparams params t =
|