|
@@ -49,9 +49,7 @@ let make_generic ctx ps pt p =
|
|
|
| TAbstract(a,tl) -> (s_type_path_underscore a.a_path) ^ (loop_tl top tl)
|
|
|
| _ when not top ->
|
|
|
follow_or t top (fun() -> "_") (* allow unknown/incompatible types as type parameters to retain old behavior *)
|
|
|
- | TMono ({ tm_type = None } as m) ->
|
|
|
- if safe_mono_close ctx m p then loop top t
|
|
|
- else raise (Generic_Exception (("Could not determine type for parameter " ^ s), p))
|
|
|
+ | TMono { tm_type = None } -> raise (Generic_Exception (("Could not determine type for parameter " ^ s), p))
|
|
|
| TDynamic _ -> "Dynamic"
|
|
|
| t ->
|
|
|
follow_or t top (fun() -> raise (Generic_Exception (("Unsupported type parameter: " ^ (s_type (print_context()) t) ^ ")"), p)))
|