Follow-up on PR#5553
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12258 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
b3e0f2e72a
commit
57c5658f54
|
@ -397,6 +397,7 @@ let rec view_signature ?title ?path ?(env = !start_env) ?(detach=false) sign =
|
|||
match e with
|
||||
Syntaxerr.Unclosed(l,_,_,_) -> l
|
||||
| Syntaxerr.Applicative_path l -> l
|
||||
| Syntaxerr.Variable_in_scope(l,_) -> l
|
||||
| Syntaxerr.Other l -> l
|
||||
in
|
||||
Jg_text.tag_and_see tw ~start:(tpos l.loc_start.Lexing.pos_cnum)
|
||||
|
|
|
@ -139,6 +139,7 @@ let f txt =
|
|||
begin match err with
|
||||
Syntaxerr.Unclosed(l,_,_,_) -> l
|
||||
| Syntaxerr.Applicative_path l -> l
|
||||
| Syntaxerr.Variable_in_scope(l,_) -> l
|
||||
| Syntaxerr.Other l -> l
|
||||
end
|
||||
| Typecore.Error (l,err) ->
|
||||
|
|
Loading…
Reference in New Issue