Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: fix formatting of fn with argument comments (fix #15354) #19038

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

yuyi98
Copy link
Member

@yuyi98 yuyi98 commented Aug 2, 2023

This PR fix formatting of fn with argument comments (fix #15354).

  • Add test.

vlib\v\fmt\tests\fn_with_args_comments_keep.vv

fn main() {
	filtered_links := text_processing.filter_links(links, /* unwanted_domains = */ [
		'www.kickstarter.com',
		'www.pepper.pl',
		'tenor.com',
		'www.wykop.pl',
		'giphy.com',
	])
}

@spytheman spytheman merged commit 43800a0 into vlang:master Aug 2, 2023
35 checks passed
@yuyi98 yuyi98 deleted the fmt_fn_args_comments branch August 2, 2023 15:24
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.

fmt: wrong inline comments handling
2 participants