diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-08 06:11:50 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-03-18 00:27:04 +0800 |
commit | 6d4628ace4082a4318dc61fff49e8d193eea36e9 (patch) | |
tree | 285b3de14bf249fd5955682bbe4dcf03eab4e18c /test/libsolidity | |
parent | c37397c17871591bb897ca6f390a315f2ad0b030 (diff) | |
download | dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar.gz dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar.bz2 dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar.lz dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar.xz dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar.zst dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.zip |
Add ContractKind to ContractDefinition
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 5362239d..0b5ab516 100644 --- a/test/libsolidity/SolidityTypes.cpp +++ b/test/libsolidity/SolidityTypes.cpp @@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE(type_identifiers) TypePointer multiArray = make_shared<ArrayType>(DataLocation::Storage, stringArray); BOOST_CHECK_EQUAL(multiArray->identifier(), "t_array$_t_array$_t_string_storage_$20_storage_$dyn_storage_ptr"); - ContractDefinition c(SourceLocation{}, make_shared<string>("MyContract$"), {}, {}, {}, false); + ContractDefinition c(SourceLocation{}, make_shared<string>("MyContract$"), {}, {}, {}, ContractDefinition::ContractKind::Contract); BOOST_CHECK_EQUAL(c.type()->identifier(), "t_type$_t_contract$_MyContract$$$_$2_$"); BOOST_CHECK_EQUAL(ContractType(c, true).identifier(), "t_super$_MyContract$$$_$2"); |