diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h index 9fe0b4d928a0..2f9277808fad 100644 --- a/libsolidity/ast/Types.h +++ b/libsolidity/ast/Types.h @@ -802,14 +802,14 @@ class ArrayType: public ReferenceType /// 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 ("[]") 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 ("[]") ArrayType(DataLocation _location, Type const* _baseType, u256 _length): ReferenceType(_location), m_baseType(copyForLocationIfReference(_baseType)),