You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2999 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Hello,
The trace directive seems to be confused when trying to trace a function from a
module defined directly in the toplevel, and to search for a corresponding
global implementation instead:
module M = struct let f x = x + 1 end;;
module M : sig val f : int -> int end
#trace M.f;;
Reference to undefined global `M'
The same problem arises with #install_printer.
This might be related to bug 213 (fixed). On the other hand, if this is the
intended behavior, it might be useful to mention it in the manual...
Friendly,
Virgile
The text was updated successfully, but these errors were encountered:
The trace directive seems to be confused when trying to trace a
function from a module defined directly in the toplevel, and to
search for a corresponding global implementation instead:
C'était un bug en 3.07, mais il est corrigé en 3.08.
Original bug ID: 2999
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Virgile Prevosto
Version: 3.07+2
OS: Linux
Submission from: mpino2410.ag2.mpi-sb.mpg.de (139.19.24.15)
Hello,
The trace directive seems to be confused when trying to trace a function from a
module defined directly in the toplevel, and to search for a corresponding
global implementation instead:
module M = struct let f x = x + 1 end;;
module M : sig val f : int -> int end
#trace M.f;;
Reference to undefined global `M'
The same problem arises with #install_printer.
This might be related to bug 213 (fixed). On the other hand, if this is the
intended behavior, it might be useful to mention it in the manual...
Friendly,
Virgile
The text was updated successfully, but these errors were encountered: