diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-03-16 19:58:17 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-03-16 20:49:52 +0800 |
commit | 3ae88377d6bf59afe823eef2e4df4065561ed6ea (patch) | |
tree | 5d3df9cd820cd53f6b98a80e5d5ffb2ddbbdbc3d /test/libsolidity | |
parent | 7123f25210c200f225c5988452d9e2c35d668223 (diff) | |
download | dexon-solidity-3ae88377d6bf59afe823eef2e4df4065561ed6ea.tar dexon-solidity-3ae88377d6bf59afe823eef2e4df4065561ed6ea.tar.gz dexon-solidity-3ae88377d6bf59afe823eef2e4df4065561ed6ea.tar.bz2 dexon-solidity-3ae88377d6bf59afe823eef2e4df4065561ed6ea.tar.lz dexon-solidity-3ae88377d6bf59afe823eef2e4df4065561ed6ea.tar.xz dexon-solidity-3ae88377d6bf59afe823eef2e4df4065561ed6ea.tar.zst dexon-solidity-3ae88377d6bf59afe823eef2e4df4065561ed6ea.zip |
Change references to FunctionType::Location
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityTypes.cpp b/test/libsolidity/SolidityTypes.cpp index 2dcb9226..5362239d 100644 --- a/test/libsolidity/SolidityTypes.cpp +++ b/test/libsolidity/SolidityTypes.cpp @@ -128,7 +128,7 @@ BOOST_AUTO_TEST_CASE(type_identifiers) TupleType t({e.type(), s.type(), stringArray, nullptr}); BOOST_CHECK_EQUAL(t.identifier(), "t_tuple$_t_type$_t_enum$_Enum_$4_$_$_t_type$_t_struct$_Struct_$3_storage_ptr_$_$_t_array$_t_string_storage_$20_storage_ptr_$__$"); - TypePointer sha3fun = make_shared<FunctionType>(strings{}, strings{}, FunctionType::Location::SHA3); + TypePointer sha3fun = make_shared<FunctionType>(strings{}, strings{}, FunctionType::Kind::SHA3); BOOST_CHECK_EQUAL(sha3fun->identifier(), "t_function_sha3$__$returns$__$"); FunctionType metaFun(TypePointers{sha3fun}, TypePointers{s.type()}); |