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

Use nockmaEq instead of Eq instance to detect nil terminator #3149

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

paulcadman
Copy link
Collaborator

unfoldList should work with for lists like:

  • [5 0]
  • [5 nil]
  • [5 tag@myNilTag 0]
  • etc.

currently unfoldList will work only for list nil terminators that are tagged with unfoldList. nockmaEq compares nock terms ignoring debug annotations, so the above lists will work correctly.

@janmasrovira janmasrovira merged commit 4a1350a into main Nov 6, 2024
4 checks passed
@janmasrovira janmasrovira deleted the unfold-list-fix branch November 6, 2024 18:28
@paulcadman paulcadman modified the milestones: 0.6.8, 0.6.7 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants