Closed erick785 closed 3 weeks ago
元素赋值时动态数组改为固定长度数组
元素赋值时,动态数组改为固定长度数组
你好,这个就是动态数组
官方原文: If you want to initialize dynamically-sized arrays, you have to assign the individual elements:
ref: https://docs.soliditylang.org/en/v0.8.22/types.html#array-literals
下次可以先开一个issue
https://docs.soliditylang.org/en/v0.8.22/types.html#array-literals
好的,我明白了
元素赋值时动态数组改为固定长度数组
What type of PR is this (这是什么类型的PR)
Which issue(s) this PR fixes(Optional) (这个PR 修复了什么问题 (可选择))
What this PR does / why we need it (这个PR 做了什么/ 我们为什么需要这个PR)
元素赋值时,动态数组改为固定长度数组