aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/ast/Types.h2
-rw-r--r--libsolidity/interface/ABI.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h
index 0713f527..dd50c573 100644
--- a/libsolidity/ast/Types.h
+++ b/libsolidity/ast/Types.h
@@ -248,7 +248,7 @@ public:
/// @returns the canonical name of this type for use in library function signatures.
virtual std::string canonicalName() const { return toString(true); }
/// @returns the signature of this type in external functions, i.e. `uint256` for integers
- /// or `(uint256, bytes8)[2]` for an array of structs. If @a _structsByName,
+ /// or `(uint256,bytes8)[2]` for an array of structs. If @a _structsByName,
/// structs are given by canonical name like `ContractName.StructName[2]`.
virtual std::string signatureInExternalFunction(bool /*_structsByName*/) const
{
diff --git a/libsolidity/interface/ABI.h b/libsolidity/interface/ABI.h
index 7e42909b..db70729d 100644
--- a/libsolidity/interface/ABI.h
+++ b/libsolidity/interface/ABI.h
@@ -50,7 +50,7 @@ private:
std::vector<TypePointer> const& _types,
bool _forLibrary
);
- /// @returns a Json object with "name", "type" and potentially "subtype" keys, according
+ /// @returns a Json object with "name", "type" and potentially "components" keys, according
/// to the ABI specification.
/// If it is possible to express the type as a single string, it is allowed to return a single string.
static Json::Value formatType(std::string const& _name, Type const& _type, bool _forLibrary);