mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed some comments in Types.h
This commit is contained in:
parent
fcfc96567c
commit
e295964f50
@ -802,14 +802,14 @@ public:
|
|||||||
/// Constructor for a byte array ("bytes") and string.
|
/// Constructor for a byte array ("bytes") and string.
|
||||||
explicit ArrayType(DataLocation _location, bool _isString = false);
|
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):
|
ArrayType(DataLocation _location, Type const* _baseType):
|
||||||
ReferenceType(_location),
|
ReferenceType(_location),
|
||||||
m_baseType(copyForLocationIfReference(_baseType))
|
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):
|
ArrayType(DataLocation _location, Type const* _baseType, u256 _length):
|
||||||
ReferenceType(_location),
|
ReferenceType(_location),
|
||||||
m_baseType(copyForLocationIfReference(_baseType)),
|
m_baseType(copyForLocationIfReference(_baseType)),
|
||||||
|
Loading…
Reference in New Issue
Block a user