mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix tests.
This commit is contained in:
committed by
Alex Beregszaszi
parent
44825d1c1e
commit
6385641f6e
@@ -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
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user