Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#trace and toplevel-defined modules #2999

Closed
vicuna opened this issue Jul 26, 2004 · 2 comments
Closed

#trace and toplevel-defined modules #2999

vicuna opened this issue Jul 26, 2004 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 26, 2004

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

@vicuna
Copy link
Author

vicuna commented Aug 6, 2004

Comment author: administrator

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.

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Aug 6, 2004

Comment author: administrator

Fixed in 3.08 already.

@vicuna vicuna closed this as completed Aug 6, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant