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

Garbled string content when using List destructuring #7554

Open
imclerran opened this issue Jan 27, 2025 · 1 comment
Open

Garbled string content when using List destructuring #7554

imclerran opened this issue Jan 27, 2025 · 1 comment
Labels
bug Something isn't working P-high High priority/frequency

Comments

@imclerran
Copy link
Contributor

imclerran commented Jan 27, 2025

When using list destructuring in conjunction with Stdout, the string which is printed to Stdout is corrupted.

Important points of note:

  • a dbg statement prior to the destructing block shows that the string in the record is intact
  • So far have only been able to reproduce on records produced by decoding json from Http requests
    • decoding json from the filesystem does NOT produce the bug
  • It appears that a record with a single field does not produce the error
  • Inserting a dbg statement inside causes the Str to remain intact
  • Using List.last instead of destructuring causes the Str to remain intact

Reproduction code here

@Anton-4 Anton-4 added P-high High priority/frequency bug Something isn't working labels Jan 27, 2025
@imclerran imclerran changed the title Garbled string when using List destructuring with Stdout Garbled string content when using List destructuring Jan 27, 2025
@imclerran
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P-high High priority/frequency
Projects
None yet
Development

No branches or pull requests

2 participants