-
Notifications
You must be signed in to change notification settings - Fork 25
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
<abstr> type could be perhaps described more accurately #9
Comments
I know this issue. And I need what to reproduce it. Or you can give me simpler code (eg, only one main.ml) other than flow codebase to debug? |
@hackwaly unfortunately I don't have simpler code base for you :/ But I think that it actually happens with ocamlearlybird as well but i'm not 100% sure. Here are debugging instructions for Flow: facebook/flow#4181 (comment) and here setup instructions: https://github.com/facebook/flow#building-flow If you put breakpoint in |
superseded by #52 |
CHANGES: ### Added * Add opaque value inspection using runtime representation (hackwaly/ocamlearlybird#9, hackwaly/ocamlearlybird#52, hackwaly/ocamlearlybird#53).
CHANGES: ### Added * Add opaque value inspection using runtime representation (hackwaly/ocamlearlybird#9, hackwaly/ocamlearlybird#52, hackwaly/ocamlearlybird#53).
Looks like
<abstr>
is used when type information is hard to retrieve. looks likepath
has some more info about the<abstr>
type. e.g in this casecx
has typeContext
when attaching debugger on line https://github.com/hackwaly/ocamlearlybird/blob/master/ocaml_debug_adapter/inspect.ml#L367There might be even more information that could be shown in debugger. I think that
cx
in this case has some data in it too, but only<abstr>
is shown. this is how cx looks like: https://github.com/facebook/flow/blob/master/src/typing/context.mlThe text was updated successfully, but these errors were encountered: