Not_found dans !set_path

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5484 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2003-04-02 08:05:40 +00:00
parent 36348563c4
commit 29780e2117
1 changed files with 3 additions and 1 deletions

View File

@ -343,7 +343,9 @@ let rec view_signature ?title ?path ?(env = !start_env) ?(detach=false) sign =
view_module path ~env;
find_shown_module path
in
!set_path path ~sign;
prerr_endline (Widget.name mw.mw_frame);
(try !set_path path ~sign with _ -> ());
prerr_endline "Here";
begin match mw.mw_title with None -> ()
| Some label ->
Label.configure label ~text:title;