|
@@ -126,7 +126,7 @@ let rec s_type ctx t =
|
|
|
match t with
|
|
|
| TMono r ->
|
|
|
(match !r with
|
|
|
- | None -> Printf.sprintf "'%d" (try List.assq t (!ctx) with Not_found -> let n = List.length !ctx in ctx := (t,n) :: !ctx; n)
|
|
|
+ | None -> Printf.sprintf "Unknown<%d>" (try List.assq t (!ctx) with Not_found -> let n = List.length !ctx in ctx := (t,n) :: !ctx; n)
|
|
|
| Some t -> s_type ctx t)
|
|
|
| TEnum (e,tl) ->
|
|
|
Ast.s_type_path e.e_path ^ s_type_params ctx tl
|