aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-08-10 21:56:29 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-08-13 21:50:22 +0800
commita9f31da41146221c674356d5678030616110d471 (patch)
tree9027bbe7082cd658b5a0763e1b5ae4d99cca419d /libsolidity
parent57ada1d69e311f847b4581a0e487aebd1b0e468f (diff)
downloaddexon-solidity-a9f31da41146221c674356d5678030616110d471.tar.gz
dexon-solidity-a9f31da41146221c674356d5678030616110d471.tar.zst
dexon-solidity-a9f31da41146221c674356d5678030616110d471.zip
Allow mapping arguments and return values in all internal functions.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/analysis/TypeChecker.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index 62216272..f2f5e626 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -632,7 +632,6 @@ bool TypeChecker::visit(FunctionDefinition const& _function)
if (
!type(*var)->canLiveOutsideStorage() &&
!(
- isLibraryFunction &&
(_function.visibility() <= FunctionDefinition::Visibility::Internal) &&
type(*var)->category() == Type::Category::Mapping
)