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

"Goto Closure Code Location" sometimes fails #62

Open
sim642 opened this issue Feb 25, 2024 · 1 comment
Open

"Goto Closure Code Location" sometimes fails #62

sim642 opened this issue Feb 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sim642
Copy link
Collaborator

sim642 commented Feb 25, 2024

When debugging this program:

let add x y =
  x + y

let hello name =
  let f = add 1 in
  let text = Format.sprintf "Hello, %s (%d)!" name (f 42) in
  print_endline text

let () = hello "world"

Inside hello, add is listed under "Heap" variables, but "Goto Closure Code Location" for it gives a "No closure code location" error. It's not entirely broken though, because it works for Stdlib things under "Global" variables at least.

@sim642 sim642 added the bug Something isn't working label Feb 25, 2024
@hackwaly
Copy link
Owner

hackwaly commented Mar 4, 2024

This bug mostly like comes from upstream

@hackwaly hackwaly closed this as completed Mar 4, 2024
@hackwaly hackwaly reopened this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants