PR#6888: The list command of ocamldebug uses the wrong file
parent
67342f4686
commit
8c9ac88eb6
2
Changes
2
Changes
|
@ -392,6 +392,8 @@ Bug fixes:
|
|||
- PR#6808: the parsing of OCAMLRUNPARAM is too lax
|
||||
(Damien Doligez)
|
||||
- PR#6874: Inefficient code generated for module function arguments
|
||||
- PR#6888: The list command of ocamldebug uses the wrong file
|
||||
(Damien Doligez, report by Pierre-Marie Pédrot)
|
||||
- PR#6897: Bad error message for some pattern matching on extensible variants
|
||||
- PR#6899: Optional parameters and non generalizable type variables
|
||||
(Thomas Refis and Leo White)
|
||||
|
|
|
@ -777,7 +777,11 @@ let instr_list ppf lexbuf =
|
|||
| Not_found ->
|
||||
("", -1, -1)
|
||||
in
|
||||
let mdle = convert_module (module_of_longident mo) in
|
||||
let mdle =
|
||||
match mo with
|
||||
| None -> curr_mod
|
||||
| _ -> convert_module (module_of_longident mo)
|
||||
in
|
||||
let pos = Lexing.dummy_pos in
|
||||
let buffer =
|
||||
try get_buffer pos mdle with
|
||||
|
|
Loading…
Reference in New Issue