From e295964f50c317d1e6b0ce6e5273984e956e9692 Mon Sep 17 00:00:00 2001 From: Saw-mon-and-Natalie Date: Fri, 16 Dec 2022 14:58:41 +0000 Subject: [PATCH] fixed some comments in Types.h --- libsolidity/ast/Types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h index 9fe0b4d92..2f9277808 100644 --- a/libsolidity/ast/Types.h +++ b/libsolidity/ast/Types.h @@ -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 ("[]") 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)),