diff options
author | chriseth <c@ethdev.com> | 2015-06-10 21:36:30 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-06-10 21:36:30 +0800 |
commit | bcecae082219abb99157aca5afe9440fac20b516 (patch) | |
tree | 8adb81f80ff0099c836618cfd200df0a3f2bd48d /libsolidity/SolidityNameAndTypeResolution.cpp | |
parent | 02379492122d420d454bb8e7e3825515b882101e (diff) | |
parent | 31fb199acbd9ae8d9d7e5183ce3debd594158837 (diff) | |
download | dexon-solidity-bcecae082219abb99157aca5afe9440fac20b516.tar.gz dexon-solidity-bcecae082219abb99157aca5afe9440fac20b516.tar.zst dexon-solidity-bcecae082219abb99157aca5afe9440fac20b516.zip |
Merge pull request #2122 from chriseth/sol_memoryArrays2
Use dynamic memory.
Diffstat (limited to 'libsolidity/SolidityNameAndTypeResolution.cpp')
-rw-r--r-- | libsolidity/SolidityNameAndTypeResolution.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libsolidity/SolidityNameAndTypeResolution.cpp b/libsolidity/SolidityNameAndTypeResolution.cpp index b078fe6a..3948a4a2 100644 --- a/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/libsolidity/SolidityNameAndTypeResolution.cpp @@ -558,16 +558,6 @@ BOOST_AUTO_TEST_CASE(function_external_call_not_allowed_conversion) BOOST_CHECK_THROW(parseTextAndResolveNames(text), TypeError); } -// todo delete when implemented -BOOST_AUTO_TEST_CASE(arrays_in_internal_functions) -{ - char const* text = R"( - contract Test { - function foo(address[] addresses) {} - })"; - BOOST_CHECK_THROW(parseTextAndResolveNames(text), TypeError); -} - BOOST_AUTO_TEST_CASE(function_internal_allowed_conversion) { char const* text = R"( |