Skip to content

checker, cgen: fix array.delete_many() codegen#23025

Merged
spytheman merged 8 commits intovlang:masterfrom
felipensp:fix_delete_many
Dec 1, 2024
Merged

checker, cgen: fix array.delete_many() codegen#23025
spytheman merged 8 commits intovlang:masterfrom
felipensp:fix_delete_many

Conversation

@felipensp
Copy link
Copy Markdown
Member

@felipensp felipensp commented Nov 30, 2024

Copy link
Copy Markdown
Member

@Le0Developer Le0Developer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are you this fast. How can I procrastinate like this 😭

Amazing work! 👍

Comment thread vlib/v/checker/fn.v Outdated
Comment thread vlib/v/tests/builtin_arrays/array_delete_many_test.v
felipensp and others added 6 commits November 30, 2024 19:03
@spytheman spytheman marked this pull request as ready for review December 1, 2024 09:14
Copy link
Copy Markdown
Contributor

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

Copy link
Copy Markdown
Member

@Delta456 Delta456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

I was wondering if we can also add checker tests for this.

@spytheman
Copy link
Copy Markdown
Contributor

I think checker tests can be valuable as well (to prevent future regressions for invalid usages) but the current PR is already preventing a cgen problem for a valid usage, and I think it can be merged now, and the checker tests for its errors, can be added later.

@spytheman spytheman merged commit e2d3881 into vlang:master Dec 1, 2024
@felipensp felipensp deleted the fix_delete_many branch December 4, 2024 12:17
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.

delete_many on []T causes cgen error

5 participants