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

ast, parser, checker, cgen: cleanup ast.ArrayInit #19526

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

yuyi98
Copy link
Member

@yuyi98 yuyi98 commented Oct 7, 2023

This PR cleanup ast.ArrayInit.

  • Change has_default to has_init just like has_len and has_cap.
  • Change default_expr to init_expr just like len_expr and cap_expr.
  • Change default_type to init_type.

@medvednikov medvednikov merged commit e3ba197 into vlang:master Oct 8, 2023
42 checks passed
@yuyi98 yuyi98 deleted the cleanup_array_init branch October 8, 2023 12:06
Wertzui123 pushed a commit to Wertzui123/v that referenced this pull request Oct 8, 2023
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.

3 participants