Initialize an array
with and update applied of another array as map
does
#22834
Labels
Feature Request
This issue is made to request a feature.
Describe the feature
From the https://docs.vlang.io/v-types.html#map-update-syntax maps can be formed with the next following
...base_map
syntax:Implement the same idea for arrays. Above line
...base_array
is not accepted.Use Case
Accommodate several
const
arrays in larger ones for testing use cases making groups from parts.Preventing use mutable cloning as map doc says
Proposed Solution
No response
Other Information
No response
Acknowledgements
Version used
V 0.4.8 e433d7c
Environment details (OS name and version, etc.)
Tested at current https://play.vlang.io/
Huly®: V_0.6-21279
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: