aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol
diff options
context:
space:
mode:
authorbakaoh <tatattai@gmail.com>2018-08-31 10:52:33 +0800
committerbakaoh <tatattai@gmail.com>2018-08-31 10:54:11 +0800
commit3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e (patch)
tree5fd1fdfc0a0fda751436720a3ab45b45707ce223 /test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol
parentc458f5988bc4c5bcb61135b5eec217f1be7cd33c (diff)
downloaddexon-solidity-3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e.tar
dexon-solidity-3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e.tar.gz
dexon-solidity-3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e.tar.bz2
dexon-solidity-3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e.tar.lz
dexon-solidity-3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e.tar.xz
dexon-solidity-3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e.tar.zst
dexon-solidity-3d7b0d691f8b5f86cd81bd56f2a40508832e9a0e.zip
Update test to correct source location for nameless parameters
Diffstat (limited to 'test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol')
-rw-r--r--test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol b/test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol
index 108d9861..aed9b387 100644
--- a/test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol
+++ b/test/libsolidity/syntaxTests/types/mapping/function_type_return_external.sol
@@ -3,5 +3,5 @@ contract C {
}
}
// ----
-// TypeError: (57-76): Data location must be "memory" for return parameter in function, but "storage" was given.
-// TypeError: (57-76): Internal type cannot be used for external function type.
+// TypeError: (57-84): Data location must be "memory" for return parameter in function, but "storage" was given.
+// TypeError: (57-84): Internal type cannot be used for external function type.