Skip to content

vast,ast: output map init update expression - #20574

Merged
spytheman merged 2 commits into
vlang:masterfrom
edam:pr-map-update-vinit-ast
Jan 18, 2024
Merged

spytheman merged 2 commits into
vlang:masterfrom
edam:pr-map-update-vinit-ast

Conversation

@edam

@edam edam commented Jan 17, 2024

Copy link
Copy Markdown
Member

PR adds:

  • v ast support for map update-init syntax
  • ast.Expr.str() support for for map update-init syntax
    • also added StructInit.update_expr_pos, which was missing

@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 bb9acf4 into vlang:master Jan 18, 2024
kbkpbot pushed a commit to kbkpbot/v that referenced this pull request Jan 21, 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.

2 participants