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

datatypes: make Direction pub and fix and add tests for push_many #19983

Merged
merged 4 commits into from
Nov 24, 2023

Conversation

Delta456
Copy link
Member

@Delta456 Delta456 commented Nov 24, 2023

Follow up on PR #19975

🤖[deprecated] Generated by Copilot at 9972274

This pull request enhances the datatypes module by exposing the Direction enum and fixing the push_many method for DoublyLinkedList. It also adds a new test case to verify the fix.

🤖[deprecated] Generated by Copilot at 9972274

  • Make Direction enum public to allow other modules to use it (link)
  • Fix push_many method to reverse elements when pushing to the front of the list (link)
  • Add test case for push_many method with both directions in doubly_linked_list_test.v (link)

@spytheman
Copy link
Member

The CI failure is unrelated, and I could not reproduce it locally 🤔 .

Good work.

@spytheman spytheman merged commit 67fabdd into vlang:master Nov 24, 2023
47 of 48 checks passed
@Delta456 Delta456 deleted the datatypes_double_linked_list branch November 24, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants