mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13814 from Saw-mon-and-Natalie/typo/types-comments
Fixed some comments in `Types.h`
This commit is contained in:
commit
73fcf69188
@ -802,14 +802,14 @@ public:
|
||||
/// Constructor for a byte array ("bytes") and string.
|
||||
explicit ArrayType(DataLocation _location, bool _isString = false);
|
||||
|
||||
/// Constructor for a dynamically sized array type ("type[]")
|
||||
/// Constructor for a dynamically sized array type ("<type>[]")
|
||||
ArrayType(DataLocation _location, Type const* _baseType):
|
||||
ReferenceType(_location),
|
||||
m_baseType(copyForLocationIfReference(_baseType))
|
||||
{
|
||||
}
|
||||
|
||||
/// Constructor for a fixed-size array type ("type[20]")
|
||||
/// Constructor for a fixed-size array type ("<type>[<length>]")
|
||||
ArrayType(DataLocation _location, Type const* _baseType, u256 _length):
|
||||
ReferenceType(_location),
|
||||
m_baseType(copyForLocationIfReference(_baseType)),
|
||||
|
Loading…
Reference in New Issue
Block a user