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

vfmt: automate transition from the old [attribute] to the new @[attribute] syntax #19912

Conversation

spytheman
Copy link
Member

  • vfmt: convert all [attr] to @[attr] automatically
  • fix the remaining old [attributes] (v test-all now passes, after the vfmt change)

@spytheman spytheman changed the title fmt automate transition to new attribute syntax vfmt: automate transition from the old [attribute] to the new @[attribute] syntax Nov 17, 2023
@spytheman spytheman merged commit f7b9e4e into vlang:master Nov 17, 2023
54 checks passed
@spytheman spytheman deleted the fmt_automate_transition_to_new_attribute_syntax branch November 17, 2023 15:43
@joe-conigliaro
Copy link
Member

Thanks @spytheman

@ttytm
Copy link
Member

ttytm commented Nov 20, 2023

Good one. With this change, is it enough to have vfmt informing about the new attr syntax? It would be less noisy when compiling stuff, e.g., when trying to make a fix at v-analyzer it's a lot of output atm.

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.

None yet

3 participants