Skip to content

parser: add check for result type on chan init - #21363

Merged
spytheman merged 2 commits into
vlang:masterfrom
felipensp:fix_chan_option_or_result_type
May 2, 2024
Merged

spytheman merged 2 commits into
vlang:masterfrom
felipensp:fix_chan_option_or_result_type

Conversation

@felipensp

Copy link
Copy Markdown
Member

Fix #21337

Comment thread vlib/v/parser/parser.v Outdated
@felipensp felipensp changed the title parser: add check for result or option type on chan init parser: add check for result type on chan init May 1, 2024
@felipensp
felipensp marked this pull request as ready for review May 1, 2024 12:49

@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.

@spytheman
spytheman merged commit 7c89d77 into vlang:master May 2, 2024
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.

"c := chan !string{}" -> error: unexpected token !, expecting {

3 participants