mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Changed instaces of isByteArrayOrString() to isByteArray() where it's only supposed to return a True for Bytes Type
This commit is contained in:
@@ -837,6 +837,8 @@ public:
|
||||
|
||||
BoolResult validForLocation(DataLocation _loc) const override;
|
||||
|
||||
/// @returns true if this is a byte array.
|
||||
bool isByteArray() const { return m_arrayKind == ArrayKind::Bytes; }
|
||||
/// @returns true if this is a byte array or a string
|
||||
bool isByteArrayOrString() const { return m_arrayKind != ArrayKind::Ordinary; }
|
||||
/// @returns true if this is a string
|
||||
|
||||
Reference in New Issue
Block a user