Skip to content

checker: correctly detect type when prepending to generic array#25645

Merged
spytheman merged 1 commit intovlang:masterfrom
dy-tea:generic-array-prepend
Nov 2, 2025
Merged

checker: correctly detect type when prepending to generic array#25645
spytheman merged 1 commit intovlang:masterfrom
dy-tea:generic-array-prepend

Conversation

@dy-tea
Copy link
Copy Markdown
Member

@dy-tea dy-tea commented Nov 1, 2025

Fixes #25585.

Also changed c.unwrap_generic(left_type) to unwrapped_left_type to remove unnecessary call.

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.
Thank you @dy-tea 🙇🏻‍♂️ .

@spytheman spytheman merged commit 6520805 into vlang:master Nov 2, 2025
87 of 88 checks passed
kahgoh added a commit to kahgoh/exercism-vlang that referenced this pull request Nov 2, 2025
This reverts commit 8f805f5.

Just received notification that this has been fixed in the V compiler
(see vlang/v#25645).
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.

Can not prepend to generic array

2 participants