Skip to content

parser: disallow [T] as return type #26530

Merged
spytheman merged 5 commits into
vlang:masterfrom
Delta456:invalid_generic_return
Feb 7, 2026
Merged

parser: disallow [T] as return type #26530
spytheman merged 5 commits into
vlang:masterfrom
Delta456:invalid_generic_return

Conversation

@Delta456

@Delta456 Delta456 commented Feb 6, 2026

Copy link
Copy Markdown
Member

Fixes #26520

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.
Thank you @Delta456 🙇🏻 .

@spytheman spytheman merged commit 6f9f2bc into vlang:master Feb 7, 2026
95 of 97 checks passed
@Delta456 Delta456 deleted the invalid_generic_return branch February 7, 2026 17:29
cestef pushed a commit to cestef/v that referenced this pull request Mar 9, 2026
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.

Invalid generic return type syntax is not caught and causes side effects

2 participants