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

Should kind: match report anything in the trace? #389

Open
starpit opened this issue Feb 10, 2025 · 0 comments
Open

Should kind: match report anything in the trace? #389

starpit opened this issue Feb 10, 2025 · 0 comments
Labels
bug Something isn't working interpreter UI

Comments

@starpit
Copy link
Member

starpit commented Feb 10, 2025

Describe the bug
It seems that the trace.json for a match block does not record the result of the match. This is unlike the trace for an if block, which records an if_result in the trace.

To Reproduce

pdl --trace examples/react/demo.pdl

Expected behavior
Maybe we could do something like match_result?

Screenshots
n/a

Desktop (please complete the following information):

  • OS: macOS
  • Browser n/a
  • Version PDL 0.2.1.dev88+g334a253.d20250131

Additional context
n/a

@starpit starpit added the bug Something isn't working label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working interpreter UI
Projects
None yet
Development

No branches or pull requests

2 participants