mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
clarification on dynamic arrays, switcheroo on typepointer, and a documentation test added
This commit is contained in:
@@ -318,7 +318,7 @@ Can state variables be initialized in-line?
|
||||
===========================================
|
||||
|
||||
Yes, this is possible for all types (even for structs). However, for arrays it
|
||||
should be noted that you must declare them as static memory arrays. Futhermore, multi dimensional arrays cannot be declared inline.
|
||||
should be noted that you must declare them as static memory arrays.
|
||||
|
||||
Examples::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user