aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/SolidityNameAndTypeResolution.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-06-10 21:36:30 +0800
committerchriseth <c@ethdev.com>2015-06-10 21:36:30 +0800
commitbcecae082219abb99157aca5afe9440fac20b516 (patch)
tree8adb81f80ff0099c836618cfd200df0a3f2bd48d /libsolidity/SolidityNameAndTypeResolution.cpp
parent02379492122d420d454bb8e7e3825515b882101e (diff)
parent31fb199acbd9ae8d9d7e5183ce3debd594158837 (diff)
downloaddexon-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.cpp10
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"(