Skip to content

v.parser: document veb.html() properly as a comptime function - #26605

Merged
spytheman merged 1 commit into
vlang:masterfrom
emerikaji:fix_parser_error_message_for_veb
Feb 14, 2026
Merged

spytheman merged 1 commit into
vlang:masterfrom
emerikaji:fix_parser_error_message_for_veb

Conversation

@emerikaji

Copy link
Copy Markdown
Contributor

In the event someone mistyped the comptime call, they could have been misled into thinking $veb.html() does not exist (especially as this part of veb is currently very under-documented; It is not mentioned anywhere on the vdoc despite being an essential part of the library).

This PR fixes the error message to mention $veb.html().

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

Thank you @emerikaji πŸ™‡πŸ» .

@spytheman
spytheman merged commit 1b6832b into vlang:master Feb 14, 2026
89 checks passed
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.

2 participants